fix: resolve docs url conflict & enable public blog

This commit is contained in:
2025-12-08 21:29:16 +01:00
parent 98d5be82fb
commit 8bfe2289cf
3 changed files with 5 additions and 1 deletions

View File

@@ -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

View File

@@ -83,6 +83,8 @@
<li><a href="/users">Users</a></li>
{% elif nav_item == 'settings' %}
<li><a href="/settings">Settings</a></li>
{% elif nav_item == 'pulse' %}
<li><a href="/crumbforest/pulse">Pulse 💓</a></li>
{% endif %}
{% endfor %}
{% endif %}

View File

@@ -11,10 +11,12 @@
],
"features": [
"info",
"pulse",
"contact"
],
"navbar": [
"home",
"pulse",
"about",
"contact"
],