update index return

This commit is contained in:
lan-air
2022-12-09 20:31:54 +08:00
parent 6fcd5016d4
commit cea831f89b
2 changed files with 7 additions and 2 deletions
+1 -2
View File
@@ -58,8 +58,7 @@ def get_file_name(key, ext, file):
@app.get('/')
async def index():
with open('templates/index.html', 'r') as f:
return HTMLResponse(index_html)
return HTMLResponse(index_html)
@app.post('/')