mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2026-03-13 10:32:25 +08:00
Fix index
This commit is contained in:
@@ -7,3 +7,4 @@ ENV POETRY_VIRTUALENVS_CREATE false
|
||||
RUN poetry install --no-root
|
||||
COPY . /fastapi-admin
|
||||
RUN poetry install
|
||||
RUN make compile
|
||||
@@ -27,7 +27,7 @@ def create_app():
|
||||
|
||||
@app.get("/")
|
||||
async def index():
|
||||
return RedirectResponse(path="/admin")
|
||||
return RedirectResponse(url="/admin")
|
||||
|
||||
@app.on_event("startup")
|
||||
async def startup():
|
||||
|
||||
Reference in New Issue
Block a user