mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-05-06 20:42:52 +08:00
10 lines
252 B
Python
10 lines
252 B
Python
from fastapi import FastAPI
|
|
from .routers import note, provider
|
|
|
|
|
|
def create_app() -> FastAPI:
|
|
app = FastAPI(title="BiliNote")
|
|
app.include_router(note.router, prefix="/api")
|
|
app.include_router(provider.router, prefix="/api")
|
|
return app
|