dev #60

Merged
sbcrumb merged 42 commits from dev into main 2025-10-22 21:27:04 -04:00
Showing only changes of commit 9acb592d3f - Show all commits
+4 -4
View File
@@ -127,14 +127,14 @@ def main():
"session_manager": session_manager
}
# Setup static files and routes
setup_static_files(app)
# Add authentication middleware if enabled
# Add authentication middleware if enabled (BEFORE routes)
if auth_enabled:
app.add_middleware(SimpleAuthMiddleware, config=config)
print("🔐 Authentication middleware added to web interface")
# Setup static files and routes
setup_static_files(app)
# Register web routes
register_web_routes(app, dependencies)