From 785369b43565c338d050c4fcb00008be6771c337 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Fri, 27 Nov 2015 19:37:51 +0000 Subject: Enable compression --- mach2.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mach2.py b/mach2.py index dfe7452..31f9466 100644 --- a/mach2.py +++ b/mach2.py @@ -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() -- cgit v1.2.3