From b2c637b343434f171d4e25d94810c4afdb0eceb9 Mon Sep 17 00:00:00 2001 From: redfast00 Date: Fri, 5 Apr 2019 23:26:57 +0200 Subject: [PATCH] Serve own bootstrap --- app/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/app.py b/app/app.py index 4765a7c..bbeb0af 100644 --- a/app/app.py +++ b/app/app.py @@ -11,6 +11,7 @@ from airbrake import Airbrake, AirbrakeHandler app = Flask(__name__) app.config.from_object('config.Configuration') Bootstrap(app) +app.config['BOOTSTRAP_SERVE_LOCAL'] = True # use our own bootstrap theme app.extensions['bootstrap']['cdns']['bootstrap'] = StaticCDN() @@ -44,4 +45,4 @@ if not app.debug: ) app.logger.addHandler( AirbrakeHandler(airbrake=airbrake) - ) \ No newline at end of file + )