From 8bfe2289cfbe86f906b8f21f53ea9a8feeac0f16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=BCmel=20Branko?= Date: Mon, 8 Dec 2025 21:29:16 +0100 Subject: [PATCH] fix: resolve docs url conflict & enable public blog --- app/main.py | 2 +- app/templates/base_public.html | 2 ++ crumbforest_config.json | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 9e2b6dd..56cbb8f 100644 --- a/app/main.py +++ b/app/main.py @@ -35,7 +35,7 @@ from routers.crumbforest_roles import router as roles_router SECRET = os.getenv("APP_SECRET", "dev-secret-change-me") -app = FastAPI() +app = FastAPI(docs_url="/api/docs", redoc_url=None) # --- Rate Limiting --- from routers.chat import limiter diff --git a/app/templates/base_public.html b/app/templates/base_public.html index 797ad94..d91045d 100644 --- a/app/templates/base_public.html +++ b/app/templates/base_public.html @@ -83,6 +83,8 @@
  • Users
  • {% elif nav_item == 'settings' %}
  • Settings
  • + {% elif nav_item == 'pulse' %} +
  • Pulse 💓
  • {% endif %} {% endfor %} {% endif %} diff --git a/crumbforest_config.json b/crumbforest_config.json index c3ceb0e..acbd02b 100644 --- a/crumbforest_config.json +++ b/crumbforest_config.json @@ -11,10 +11,12 @@ ], "features": [ "info", + "pulse", "contact" ], "navbar": [ "home", + "pulse", "about", "contact" ],