router import path
This commit is contained in:
parent
445abccd73
commit
00d17ee71f
3 changed files with 6 additions and 5 deletions
|
@ -11,7 +11,7 @@ from fastapi.middleware.cors import CORSMiddleware
|
||||||
from fastapi.staticfiles import StaticFiles
|
from fastapi.staticfiles import StaticFiles
|
||||||
|
|
||||||
from .dav_common import webdav_check
|
from .dav_common import webdav_check
|
||||||
from .routers.v1 import router as v1_router
|
from .routers import v1_router
|
||||||
from .settings import SETTINGS
|
from .settings import SETTINGS
|
||||||
|
|
||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
from .v1 import router as v1_router
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
"v1_router",
|
||||||
|
]
|
|
@ -19,7 +19,3 @@ router.include_router(file.router)
|
||||||
|
|
||||||
router.include_router(calendar.router)
|
router.include_router(calendar.router)
|
||||||
router.include_router(aggregate.router)
|
router.include_router(aggregate.router)
|
||||||
|
|
||||||
__all__ = [
|
|
||||||
"router",
|
|
||||||
]
|
|
||||||
|
|
Loading…
Reference in a new issue