move templates to share

This commit is contained in:
MinRK
2014-09-04 14:38:35 -07:00
parent 59dd05e707
commit ca2c6977fb
2 changed files with 2 additions and 1 deletions

View File

@@ -262,7 +262,8 @@ class JupyterHubApp(Application):
base_url=base_url,
cookie_secret=self.cookie_secret,
login_url=url_path_join(self.hub.server.base_url, 'login'),
template_path=os.path.join(here, 'templates'),
template_path=os.path.join(self.data_files_path, 'templates'),
static_files_path=os.path.join(self.data_files_path, 'static'),
)
# allow configured settings to have priority
settings.update(self.tornado_settings)