Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxdk-wasm
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
xxdk-wasm
Commits
6287c9c9
Commit
6287c9c9
authored
1 year ago
by
Richard T. Carback III
Browse files
Options
Downloads
Patches
Plain Diff
Add a / to the worker service paths
parent
8ea47f44
No related branches found
Branches containing commit
No related tags found
1 merge request
!141
npm package config
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/paths.ts
+5
-5
5 additions, 5 deletions
src/paths.ts
with
5 additions
and
5 deletions
src/paths.ts
+
5
−
5
View file @
6287c9c9
...
...
@@ -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
'
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment