disable cache
This commit is contained in:
parent
cce15c9506
commit
57fb3d0d1c
@ -1,6 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta
|
||||
http-equiv="Cache-Control"
|
||||
content="no-cache, no-store, must-revalidate"
|
||||
/>
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Expires" content="0" />
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user