fix: resolve docs url conflict & enable public blog
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -11,10 +11,12 @@
|
||||
],
|
||||
"features": [
|
||||
"info",
|
||||
"pulse",
|
||||
"contact"
|
||||
],
|
||||
"navbar": [
|
||||
"home",
|
||||
"pulse",
|
||||
"about",
|
||||
"contact"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user