Skip to content
Snippets Groups Projects
Commit 6287c9c9 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Add a / to the worker service paths

parent 8ea47f44
No related branches found
No related tags found
1 merge request!141npm package config
......@@ -18,7 +18,7 @@ export let xxdkBasePath : URL | undefined;
if (typeof window! !== 'undefined') {
if (typeof window!.xxdkBasePath == 'undefined') {
window!.xxdkBasePath = default_xxdk_path;
}
}
}
if (xxdkBasePath === undefined) {
xxdkBasePath = default_xxdk_path;
......@@ -35,17 +35,17 @@ export function setXXDKBasePath(newPath: URL) {
// apps need to maintain access
// NOTE: we do not use require here, because these are defined entry points in the webpack config
export function logFileWorkerPath(): URL {
return new URL(window!.xxdkBasePath + 'dist/logFileWorker.js');
return new URL(window!.xxdkBasePath + '/dist/logFileWorker.js');
}
export function channelsIndexedDbWorkerPath(): URL {
return new URL(window!.xxdkBasePath + 'dist/channelsIndexedDbWorker.js');
return new URL(window!.xxdkBasePath + '/dist/channelsIndexedDbWorker.js');
}
export function dmIndexedDbWorkerPath(): URL {
return new URL(window!.xxdkBasePath + 'dist/dmIndexedDbWorker.js');
return new URL(window!.xxdkBasePath + '/dist/dmIndexedDbWorker.js');
}
export function stateIndexedDbWorkerPath() {
return new URL(window!.xxdkBasePath + 'dist/stateIndexedDbWorker.js');
return new URL(window!.xxdkBasePath + '/dist/stateIndexedDbWorker.js');
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment