From 6287c9c913e0fda8dbc78a59fea58d23bfd40187 Mon Sep 17 00:00:00 2001
From: "Richard T. Carback III" <rick.carback@gmail.com>
Date: Mon, 19 Feb 2024 16:20:10 +0000
Subject: [PATCH] Add a / to the worker service paths

---
 src/paths.ts | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/paths.ts b/src/paths.ts
index 4db69d2..988a572 100644
--- a/src/paths.ts
+++ b/src/paths.ts
@@ -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');
 }
-- 
GitLab