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.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)
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue