Serve own bootstrap
This commit is contained in:
parent
34aca21a0b
commit
b2c637b343
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||||
|
@ -44,4 +45,4 @@ if not app.debug:
|
||||||
)
|
)
|
||||||
app.logger.addHandler(
|
app.logger.addHandler(
|
||||||
AirbrakeHandler(airbrake=airbrake)
|
AirbrakeHandler(airbrake=airbrake)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue