You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
397 B
Python
20 lines
397 B
Python
import os
|
|
|
|
from django.core.asgi import get_asgi_application
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "etebase_server.settings")
|
|
django_application = get_asgi_application()
|
|
|
|
|
|
def create_application():
|
|
from etebase_server.fastapi.main import create_application
|
|
|
|
app = create_application()
|
|
|
|
app.mount("/", django_application)
|
|
|
|
return app
|
|
|
|
|
|
application = create_application()
|