mirror of
https://github.com/StepanovPlaton/torrent_backend.git
synced 2026-04-03 20:30:38 +04:00
Code refactoring. Add support genres and actors to routes
This commit is contained in:
9
main.py
9
main.py
@@ -13,10 +13,19 @@ app = FastAPI(
|
||||
"url": "https://github.com/StepanovPlaton"
|
||||
},
|
||||
)
|
||||
|
||||
app.include_router(startup_router)
|
||||
|
||||
app.include_router(games_router)
|
||||
app.include_router(game_genres_router)
|
||||
|
||||
app.include_router(movies_router)
|
||||
app.include_router(movie_actors_router)
|
||||
app.include_router(movie_genres_router)
|
||||
|
||||
app.include_router(audiobooks_router)
|
||||
app.include_router(audiobook_genres_router)
|
||||
|
||||
app.include_router(files_router)
|
||||
app.include_router(auth_router)
|
||||
app.mount("/content", StaticFiles(directory="content"), name="content")
|
||||
|
||||
Reference in New Issue
Block a user