From 3435f61189aa01f804c5e5cd58a139d6718d152a Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Fri, 5 Sep 2025 20:10:33 +0000 Subject: [PATCH] Don't index by default. --- bemani/frontend/app.py | 1 + bemani/frontend/templates/base.html | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bemani/frontend/app.py b/bemani/frontend/app.py index afe74cd..53990ef 100644 --- a/bemani/frontend/app.py +++ b/bemani/frontend/app.py @@ -68,6 +68,7 @@ def after_request(response: Response) -> Response: response.cache_control.no_cache = True response.cache_control.must_revalidate = True response.cache_control.private = True + response.headers["X-Robots-Tag"] = "noindex" return response diff --git a/bemani/frontend/templates/base.html b/bemani/frontend/templates/base.html index 78bcf3d..f4c09ca 100644 --- a/bemani/frontend/templates/base.html +++ b/bemani/frontend/templates/base.html @@ -11,7 +11,8 @@ - + +