File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
packages/notebook-extension/src Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import {
1414
1515import { Cell , CodeCell } from '@jupyterlab/cells' ;
1616
17- import { Text , Time } from '@jupyterlab/coreutils' ;
17+ import { PageConfig , Text , Time , URLExt } from '@jupyterlab/coreutils' ;
1818
1919import { IDocumentManager } from '@jupyterlab/docmanager' ;
2020
@@ -411,8 +411,12 @@ const tabIcon: JupyterFrontEndPlugin<void> = {
411411 requires : [ INotebookTracker ] ,
412412 activate : ( app : JupyterFrontEnd , tracker : INotebookTracker ) => {
413413 // the favicons are provided by Jupyter Server
414- const notebookIcon = ' /static/favicons/favicon-notebook.ico' ;
415- const busyIcon = ' /static/favicons/favicon-busy-1.ico' ;
414+ const baseURL = PageConfig . getBaseUrl ( ) ;
415+ const notebookIcon = URLExt . join (
416+ baseURL ,
417+ 'static/favicons/favicon-notebook.ico'
418+ ) ;
419+ const busyIcon = URLExt . join ( baseURL , 'static/favicons/favicon-busy-1.ico' ) ;
416420
417421 const updateBrowserFavicon = (
418422 status : ISessionContext . KernelDisplayStatus
You can’t perform that action at this time.
0 commit comments