Skip to content

Commit

Permalink
hotfix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
spessasus committed Oct 11, 2024
1 parent 3d1d75c commit 6b24aa2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/website/js/manager/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class Manager
console.warn("DEBUG ENABLED! DEBUGGING ENABLED!!");
}

const prePath = isLocalEdition ? "../../../spessasynth_lib/" : "../../spessasynth_lib/";
const prePath = window.isLocalEdition ? "../../../spessasynth_lib/" : "../../spessasynth_lib/";
if (context.audioWorklet)
{
await context.audioWorklet.addModule(new URL(prePath + WORKLET_PATH, import.meta.url));
Expand Down
2 changes: 1 addition & 1 deletion src/website/minified/demo_main.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/website/minified/local_main.min.js

Large diffs are not rendered by default.

0 comments on commit 6b24aa2

Please sign in to comment.