Skip to content

Commit

Permalink
Merge pull request #22 from blink1073/no-cache-other
Browse files Browse the repository at this point in the history
Do not cache themes
  • Loading branch information
blink1073 authored Oct 10, 2017
2 parents 24eaddb + 786aed7 commit b9d5d10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jupyterlab_launcher/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ def add_handlers(web_app, config):
if config.themes_dir and not config.themes_url:
config.themes_url = ujoin(base_url, default_themes_path)
handlers.append((ujoin(config.themes_url, "(.*)"), FileFindHandler, {
'path': config.themes_dir
'path': config.themes_dir,
'no_cache_paths': ['/'] # don't cache anything
}))

config.name = config.name or 'Application'
Expand Down

0 comments on commit b9d5d10

Please sign in to comment.