diff --git a/packages/notebook-extension/src/index.ts b/packages/notebook-extension/src/index.ts index e4d217c5778..45d34d1f4b7 100644 --- a/packages/notebook-extension/src/index.ts +++ b/packages/notebook-extension/src/index.ts @@ -411,9 +411,10 @@ const tabIcon: JupyterFrontEndPlugin = { requires: [INotebookTracker], activate: (app: JupyterFrontEnd, tracker: INotebookTracker) => { // the favicons are provided by Jupyter Server - const notebookIcon = ' /static/favicons/favicon-notebook.ico'; - const busyIcon = ' /static/favicons/favicon-busy-1.ico'; - + const baseURL = window.location.origin; + const notebookIcon = `${baseURL}/static/favicons/favicon-notebook.ico`; + const busyIcon = `${baseURL}/static/favicons/favicon-busy-1.ico`; + const updateBrowserFavicon = ( status: ISessionContext.KernelDisplayStatus ) => {