Skip to content

Commit

Permalink
Used for conncatinating fac-icon URL
Browse files Browse the repository at this point in the history
  • Loading branch information
onejayesh committed Oct 17, 2023
1 parent 01224f5 commit 8a5da18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/notebook-extension/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { Widget } from '@lumino/widgets';

import { TrustedComponent } from './trusted';

import { PageConfig } from '@jupyterlab/coreutils';
import { PageConfig, URLExt } from '@jupyterlab/coreutils';


/**
Expand Down Expand Up @@ -415,8 +415,8 @@ const tabIcon: JupyterFrontEndPlugin<void> = {
activate: (app: JupyterFrontEnd, tracker: INotebookTracker) => {
// the favicons are provided by Jupyter Server
const baseURL = PageConfig.getBaseUrl();
const notebookIcon = `${baseURL}/static/favicons/favicon-notebook.ico`;
const busyIcon = `${baseURL}/static/favicons/favicon-busy-1.ico`;
const notebookIcon = URLExt.join(baseURL, 'static/favicons/favicon-notebook.ico');
const busyIcon = URLExt.join(baseURL, 'static/favicons/favicon-busy-1.ico');

const updateBrowserFavicon = (
status: ISessionContext.KernelDisplayStatus
Expand Down

0 comments on commit 8a5da18

Please sign in to comment.