How to redirect FastAPI Documentation while running on Docker

前端 未结 0 533
孤独总比滥情好
孤独总比滥情好 2021-02-11 02:41

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

I tried:

app = FastAPI()

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


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