mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +00:00
Replace header logo: jupyter -> jupyterhub
This commit is contained in:
@@ -592,7 +592,7 @@ class JupyterHub(Application):
|
||||
|
||||
@default('logo_file')
|
||||
def _logo_file_default(self):
|
||||
return os.path.join(self.data_files_path, 'static', 'images', 'jupyter.png')
|
||||
return os.path.join(self.data_files_path, 'static', 'images', 'jupyterhub-80.png')
|
||||
|
||||
jinja_environment_options = Dict(
|
||||
help="Supply extra arguments that will be passed to Jinja environment."
|
||||
|
@@ -611,7 +611,7 @@ async def test_static_files(app):
|
||||
r = await async_requests.get(ujoin(base_url, 'logo'))
|
||||
r.raise_for_status()
|
||||
assert r.headers['content-type'] == 'image/png'
|
||||
r = await async_requests.get(ujoin(base_url, 'static', 'images', 'jupyter.png'))
|
||||
r = await async_requests.get(ujoin(base_url, 'static', 'images', 'jupyterhub-80.png'))
|
||||
r.raise_for_status()
|
||||
assert r.headers['content-type'] == 'image/png'
|
||||
r = await async_requests.get(ujoin(base_url, 'static', 'css', 'style.min.css'))
|
||||
|
Reference in New Issue
Block a user