summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorMartin Hafskjold Thoresen <martin@vind.ai>2025-01-11 15:23:11 +0100
committerMartin Hafskjold Thoresen <martin@vind.ai>2025-01-11 15:23:11 +0100
commitec697c401e2d2c6c59c7aab7755ccf6620861ca8 (patch)
treea52dc5aab7e06941928a0eed18cd8d945620c525 /static
parent42fd8cd3560047c88a2167a4d5c5845dd81eb3ec (diff)
downloadmusicgame-ec697c401e2d2c6c59c7aab7755ccf6620861ca8.tar.gz
musicgame-ec697c401e2d2c6c59c7aab7755ccf6620861ca8.zip
Docker and justHEADmaster
Diffstat (limited to 'static')
-rw-r--r--static/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/main.js b/static/main.js
index 183b117..6b092fa 100644
--- a/static/main.js
+++ b/static/main.js
@@ -8,7 +8,7 @@ function getContext() {
async function loadSample(url) {
const res = await fetch(url);
- const buffer = res.arrayBuffer();
+ const buffer = await res.arrayBuffer();
return getContext().decodeAudioData(buffer);
}