summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Ball <michael.ball@gmail.com>2015-11-27 19:37:51 +0000
committerMichaël Ball <michael.ball@gmail.com>2015-11-27 19:37:51 +0000
commit785369b43565c338d050c4fcb00008be6771c337 (patch)
tree593e8cb58696914daf42315cbe91aa792b5e1220
parent2ef755ad3d15f1ccce1cc9f6e5020bff35a2216e (diff)
Enable compression
-rw-r--r--mach2.py4
1 files changed, 4 insertions, 0 deletions
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()