mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-01 18:39:40 +05:00
Frontend: add dynamic color from user avatar.
Backend: add image proxy
This commit is contained in:
parent
76bb133955
commit
1a83a80e07
7 changed files with 45 additions and 6 deletions
|
@ -1,5 +1,6 @@
|
|||
import uvicorn
|
||||
from fastapi import FastAPI
|
||||
from modules import proxy
|
||||
from modules.pages import favorites
|
||||
from modules.pages import index
|
||||
from modules.pages import search
|
||||
|
@ -48,5 +49,7 @@ app.include_router(index.router, prefix="/api/index", tags=["Index"])
|
|||
app.include_router(favorites.router, prefix="/api/favorites", tags=["Favorites"])
|
||||
app.include_router(search.router, prefix="/api/search", tags=["Search"])
|
||||
|
||||
app.include_router(proxy.router, prefix="/api/proxy")
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run("main:app", host="0.0.0.0", port=8000)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue