Skip to content

Commit

Permalink
fix: fixing favicon in production (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored Sep 1, 2023
1 parent 4ca6249 commit f1be9fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion backend/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async def version():
# Register route for favicon.
@app.get("/favicon.ico")
async def favicon():
return FileResponse(pathlib.Path(__file__).parent.parent.parent / "frontend/public/favicon.ico")
return FileResponse(pathlib.Path(__file__).parent / "assets/favicon.ico")


# Server front-end (assets directory and index file for root ("/") entrypoint) when configured
Expand Down

0 comments on commit f1be9fd

Please sign in to comment.