File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,5 +49,4 @@ install-name = "api"
4949sources = [" src/api" ]
5050
5151[tool .hatch .build .targets .zipped-directory .force-include ]
52- ".env" = " /.env"
53- "static" = " /static"
52+ ".env" = " /.env"
Original file line number Diff line number Diff line change 3838 responses = {404 : {"description" : "Not found" }}, # Custom 404 page
3939)
4040
41- # Serve static files from the /static directory
42- app .mount ("/static" , StaticFiles (directory = "static" ), name = "static" )
4341
4442# Enable CORS
4543app .add_middleware (
@@ -71,7 +69,7 @@ async def swagger_ui_html():
7169 openapi_url = app .openapi_url ,
7270 title = app .title + " - Documentation" ,
7371 oauth2_redirect_url = app .swagger_ui_oauth2_redirect_url ,
74- swagger_favicon_url = "/static/favicon .png" ,
72+ swagger_favicon_url = "https://i.imgur.com/2Y59zOy .png" ,
7573 )
7674
7775
You can’t perform that action at this time.
0 commit comments