Skip to content

Commit

Permalink
Update index.ts to fix the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
navdeepgill14 authored Oct 5, 2023
1 parent 0310b97 commit 6047b11
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/notebook-extension/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,10 @@ const tabIcon: JupyterFrontEndPlugin<void> = {
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
) => {
Expand Down

0 comments on commit 6047b11

Please sign in to comment.