diff --git a/pyproject.toml b/pyproject.toml index 70d462d..2214361 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,5 +49,4 @@ install-name = "api" sources = ["src/api"] [tool.hatch.build.targets.zipped-directory.force-include] -".env" = "/.env" -"static" = "/static" \ No newline at end of file +".env" = "/.env" \ No newline at end of file diff --git a/src/api/main.py b/src/api/main.py index c51e406..828e100 100644 --- a/src/api/main.py +++ b/src/api/main.py @@ -38,8 +38,6 @@ responses={404: {"description": "Not found"}}, # Custom 404 page ) -# Serve static files from the /static directory -app.mount("/static", StaticFiles(directory="static"), name="static") # Enable CORS app.add_middleware( @@ -71,7 +69,7 @@ async def swagger_ui_html(): openapi_url=app.openapi_url, title=app.title + " - Documentation", oauth2_redirect_url=app.swagger_ui_oauth2_redirect_url, - swagger_favicon_url="/static/favicon.png", + swagger_favicon_url="https://i.imgur.com/2Y59zOy.png", ) diff --git a/static/favicon.png b/static/favicon.png deleted file mode 100644 index 78d89f3..0000000 Binary files a/static/favicon.png and /dev/null differ