disable cache

This commit is contained in:
Qing
2022-11-17 22:11:54 +08:00
parent cce15c9506
commit 57fb3d0d1c
2 changed files with 8 additions and 1 deletions

View File

@@ -208,7 +208,7 @@ def switch_model():
@app.route("/")
def index():
return send_file(os.path.join(BUILD_DIR, "index.html"))
return send_file(os.path.join(BUILD_DIR, "index.html"), cache_timeout=0)
@app.route("/inputimage")