update index return

This commit is contained in:
lan-air committed 2022-12-09 20:31:54 +08:00
1 parent 6fcd5016d4
commit cea831f89b
2 files changed
+7 -2

No files matched your search

+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('/')