Mercurial > personal > weather-server
diff weather_server/server.py @ 8:d54155a199d8
Improve template; add stylesheet.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 29 Sep 2019 20:32:48 -0400 |
parents | 368f732f13d0 |
children | 52ef21607b31 |
line wrap: on
line diff
--- a/weather_server/server.py Sun Sep 29 15:23:26 2019 -0400 +++ b/weather_server/server.py Sun Sep 29 20:32:48 2019 -0400 @@ -12,6 +12,7 @@ def build_app(root_directory: str) -> flask.Flask: locs = locations.Locations(root_directory) app = flask.Flask(__name__) + app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 0 @app.route('/favicon.ico') def favicon():