move
parent
811f2c4d37
commit
e0dd4d5d89
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
|
|
@ -82,8 +82,9 @@ app.include_router(api_router, prefix="/api")
|
|||
async def index():
|
||||
return FileResponse("./frontend/dist/index.html")
|
||||
|
||||
|
||||
@app.get("/favicon.ico", response_class=FileResponse)
|
||||
async def favicon():
|
||||
return FileResponse("mikazuki.ico")
|
||||
return FileResponse("assets/favicon.ico")
|
||||
|
||||
app.mount("/", SPAStaticFiles(directory="frontend/dist", html=True), name="static")
|
||||
|
|
|
|||
Loading…
Reference in New Issue