From 91418d73e45126996ed000bf08bed24fd7d97059 Mon Sep 17 00:00:00 2001 From: Peter Rauscher Date: Tue, 5 Mar 2024 23:05:09 -0500 Subject: [PATCH] change favicon link --- pyproject.toml | 3 +-- src/api/main.py | 4 +--- static/favicon.png | Bin 2492 -> 0 bytes 3 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 static/favicon.png 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 78d89f3528321b4b70d11820052bd7769c186218..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2492 zcmV;t2}AaYP)Px;c1c7*R9HuKS8GsI=NW#!b6~Grc5xR$5M|>9L2$j_MWLofqt!7sskO$$@s>1A zb&{A&+R$#j~*bS7p<_)&YyG)b#=YL#lWqKIO=0kMEL1Xoa4VTE1TUC#Nw&i9?O z7l_4S@SHj4yzl$G&-*;@M=4kIK7B1dB#B(?TgS}3#=d=&&@GfuNd%K9)M3GmR$x-0 z2?++^a{XiYLxZuz^mn3(#lKG|n50luMuo+cy7TK@^9FcqkwDoxX7(HWM^&OOj#R4h ziX#>3mFE|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