🚑 Fixed wrong url
This commit is contained in:
@@ -2,6 +2,5 @@
|
||||
reverse_proxy * http://frontend:3000
|
||||
reverse_proxy /api/* http://api:80
|
||||
reverse_proxy /openapi.json http://api:80 # Only use if you need to serve the OpenAPI spec
|
||||
reverse_proxy /api-docs http://api:80 # Only use if you need to serve the Swagger UI
|
||||
reverse_proxy /socket.io/* api:80
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ from classquiz.db import database
|
||||
from classquiz.routers import users, quiz, utils
|
||||
from classquiz.socket_server import sio
|
||||
|
||||
app = FastAPI()
|
||||
app = FastAPI(redoc_url="", docs_url="/api/docs")
|
||||
app.state.database = database
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user