diff options
author | Michaël Ball <michael.ball@gmail.com> | 2015-11-27 19:37:51 +0000 |
---|---|---|
committer | Michaël Ball <michael.ball@gmail.com> | 2015-11-27 19:37:51 +0000 |
commit | 785369b43565c338d050c4fcb00008be6771c337 (patch) | |
tree | 593e8cb58696914daf42315cbe91aa792b5e1220 | |
parent | 2ef755ad3d15f1ccce1cc9f6e5020bff35a2216e (diff) |
Enable compression
-rw-r--r-- | mach2.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,6 +17,8 @@ from models.track import Track DATABASE = "app.db" +compress = Compress() + app = Flask(__name__) app.config.from_object(__name__) @@ -164,4 +166,6 @@ if __name__ == "__main__": config.read("mach2.ini") login_manager.init_app(app) + compress.init_app(app) + app.run() |