feat(nodes): add ui build static route

This commit is contained in:
psychedelicious 2023-05-10 15:52:43 +10:00 committed by Kent Keirsey
parent ad0b70ca23
commit f8e90ba3f0

View File

@ -126,6 +126,7 @@ app.openapi = custom_openapi
# Override API doc favicons
app.mount("/static", StaticFiles(directory="static/dream_web"), name="static")
app.mount("/", StaticFiles(directory="invokeai/frontend/web/dist", html=True), name="ui")
@app.get("/docs", include_in_schema=False)
def overridden_swagger():