Now using bootstrap 4 beta

Refs #16
This commit is contained in:
Simon Willison 2017-11-05 18:49:07 -08:00
commit 7e0cedae3d
3 changed files with 13 additions and 0 deletions

View file

@ -438,7 +438,9 @@ def app_factory(files, num_threads=3):
])
)
app.add_route(IndexView.as_view(files, jinja, executor), '/')
# TODO: /favicon.ico and /-/static/ deserve far-future cache expires
app.add_route(favicon, '/favicon.ico')
app.static('/-/static/', str(app_root / 'immutabase' / 'static'))
app.add_route(
DatabaseView.as_view(files, jinja, executor),
'/<db_name:[^/\.]+?><as_json:(.jsono?)?$>'