mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Dashboard disable assets caching (#2025)
This commit is contained in:
parent
799f04efc0
commit
442e58b07a
1 changed files with 3 additions and 4 deletions
|
@ -782,7 +782,6 @@ def make_app(debug=get_bool_env(ENV_DEV)):
|
|||
|
||||
class StaticFileHandler(tornado.web.StaticFileHandler):
|
||||
def set_extra_headers(self, path):
|
||||
if debug:
|
||||
self.set_header(
|
||||
"Cache-Control", "no-store, no-cache, must-revalidate, max-age=0"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue