🤪防止工作流因超时失效

This commit is contained in:
2024-09-05 20:08:14 +08:00
parent e4887b8f01
commit f49db80e4e
7 changed files with 55 additions and 6 deletions

View File

@ -21,7 +21,7 @@ app.add_middleware(
@app.get("/", response_class=HTMLResponse)
async def root():
try:
with open('./static/deploy-home.html', 'r', encoding='utf-8') as f:
with open('./server/deploy-home.html', 'r', encoding='utf-8') as f:
html_content = f.read()
return HTMLResponse(content=html_content)
except FileNotFoundError: