Remove token from the URL for the websocket connections (#1591)

This commit is contained in:
Karthik chakravarthy
2023-08-30 15:54:20 -04:00
committed by GitHub
parent c8e7e69aa5
commit f8ff0626d9
2 changed files with 3 additions and 7 deletions

View File

@@ -100,9 +100,6 @@ const addInitialCodeCellEpic = (
*/
const formWebSocketURL = (serverConfig: NotebookServiceConfig, kernelId: string, sessionId?: string): string => {
const params = new URLSearchParams();
if (serverConfig.token) {
params.append("token", serverConfig.token);
}
if (sessionId) {
params.append("session_id", sessionId);
}