Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Commit 9819a4d

Browse files
committed
fix: remove extra slash when calling contents API
1 parent b67f931 commit 9819a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const send = (type: NotebookEventTypeValue, payload = '') => {
7171
fetch(
7272
`${origin}${
7373
jupyterConfigData.baseUrl
74-
}/api/contents?postMessage=${JSON.stringify(event)}`
74+
}api/contents?postMessage=${JSON.stringify(event)}`
7575
);
7676
parent.postMessage(event, '*');
7777
};

0 commit comments

Comments
 (0)