|
@@ -60,6 +60,8 @@ def setup_routes(app: FastAPI):
|
|
|
response_class=HTMLResponse, include_in_schema=False)
|
|
response_class=HTMLResponse, include_in_schema=False)
|
|
|
app.add_api_route("/register", static.serve_register_html, methods=["GET"],
|
|
app.add_api_route("/register", static.serve_register_html, methods=["GET"],
|
|
|
response_class=HTMLResponse, include_in_schema=False)
|
|
response_class=HTMLResponse, include_in_schema=False)
|
|
|
|
|
+ app.add_api_route("/images/{image_path:path}", static.serve_image, methods=["GET"],
|
|
|
|
|
+ response_class=HTMLResponse, include_in_schema=False)
|
|
|
|
|
|
|
|
# Mount static files
|
|
# Mount static files
|
|
|
static.mount_main_static_files(app)
|
|
static.mount_main_static_files(app)
|