How to redirect FastAPI Documentation while running on Docker

前端 未结 0 1691
无人及你
无人及你 2021-02-11 02:44

I need to redirect "/swagger-ui.html" to the documentation page.

I tried:

app = FastAPI()

@app.get("/swagger-ui.html"         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题