Serve own bootstrap

This commit is contained in:
redfast00 2019-04-05 23:26:57 +02:00
parent 34aca21a0b
commit b2c637b343
No known key found for this signature in database
GPG key ID: 5946E0E34FD0553C

View file

@ -11,6 +11,7 @@ from airbrake import Airbrake, AirbrakeHandler
app = Flask(__name__) app = Flask(__name__)
app.config.from_object('config.Configuration') app.config.from_object('config.Configuration')
Bootstrap(app) Bootstrap(app)
app.config['BOOTSTRAP_SERVE_LOCAL'] = True
# use our own bootstrap theme # use our own bootstrap theme
app.extensions['bootstrap']['cdns']['bootstrap'] = StaticCDN() app.extensions['bootstrap']['cdns']['bootstrap'] = StaticCDN()