src/app.py : initialisation de l'authentification au démarrage (#73)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Colin Maudry
2026-04-20 17:34:12 +02:00
parent a02a9df081
commit 8896726e09
2 changed files with 11 additions and 0 deletions
+3
View File
@@ -7,6 +7,7 @@ from dash import Dash, Input, Output, State, dcc, html, page_container, page_reg
from dotenv import load_dotenv
from flask import Response
from src.auth.setup import init_auth
from src.utils import DEVELOPMENT
from src.utils.cache import cache
@@ -50,6 +51,8 @@ cache.init_app(
},
)
init_auth(app.server)
# robots.txt
@app.server.route("/robots.txt")