mirror of
https://github.com/etesync/server
synced 2024-11-22 00:38:07 +00:00
fix: move etebase_fastapi module from toplevel to under etebase_server
This is in preparation for creating a python package, which should only occupy the "etebase_server" name in the global module namespace.
This commit is contained in:
parent
13a137a128
commit
163f7766f1
@ -7,7 +7,7 @@ django_application = get_asgi_application()
|
||||
|
||||
|
||||
def create_application():
|
||||
from etebase_fastapi.main import create_application
|
||||
from etebase_server.fastapi.main import create_application
|
||||
|
||||
app = create_application()
|
||||
|
||||
|
@ -43,7 +43,7 @@ def create_application(prefix="", middlewares=[]):
|
||||
app.include_router(websocket_router, prefix=f"{BASE_PATH}/ws", tags=["websocket"])
|
||||
|
||||
if settings.DEBUG:
|
||||
from etebase_fastapi.routers.test_reset_view import test_reset_view_router
|
||||
from .routers.test_reset_view import test_reset_view_router
|
||||
|
||||
app.include_router(test_reset_view_router, prefix=f"{BASE_PATH}/test/authentication")
|
||||
|
Loading…
Reference in New Issue
Block a user