Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
GFLJS2100-user authored Dec 4, 2024
1 parent 7571a8c commit b19382d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ function stopAudio() {
function loadPresets() {
// Remove the first 8 characters from the URL for the fetch
const baseUrl = window.location.href.substring(8);
fetch(baseUrl + 'zoundlibrary/library.json')
fetch(baseUrl + './zoundlibrary/library.json')
.then(response => response.json())
.then(data => {
presets = data.presets;
Expand Down

0 comments on commit b19382d

Please sign in to comment.