Skip to content
Snippets Groups Projects

Fix broken server references from reworking __init__.py and imports

4 files
+ 10
8
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 4
4
@@ -22,12 +22,12 @@ if LOG_BASIC_CONFIG == "true":
@@ -22,12 +22,12 @@ if LOG_BASIC_CONFIG == "true":
logging.basicConfig(level=LOG_LEVEL)
logging.basicConfig(level=LOG_LEVEL)
ws_app = FastAPI()
app = FastAPI()
ws_app.mount("/ws/secure", secure_app)
app.mount("/ws/secure", secure_app)
ws_app.mount("/ws", ws_app)
app.mount("/ws", ws_app)
@ws_app.get("/", include_in_schema=False)
@app.get("/", include_in_schema=False)
async def redirect_to_ws():
async def redirect_to_ws():
return RedirectResponse("/ws")
return RedirectResponse("/ws")
Loading