Skip to content

Commit b6d1d4f

Browse files
committed
COmpress
1 parent 769b6e1 commit b6d1d4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

blog.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
from controllers import admin
66
from controllers import fe
77
from appconfig import *
8-
8+
from flask.ext.compress import Compress
99

1010
account_api = account.account_api
1111
static_api = static.static_api
1212
admin_api = admin.admin_api
1313
fe = fe.fe
1414

1515
app = Flask(__name__)
16+
Compress(app)
1617
app.register_blueprint(account_api)
1718
app.register_blueprint(static_api)
1819
app.register_blueprint(admin_api)

0 commit comments

Comments
 (0)