Browse Source

fix: forgot to remove localhost

Kristian Vos 3 năm trước cách đây
mục cha
commit
e97598297c
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      frontend/src/ms.js

+ 1 - 3
frontend/src/ms.js

@@ -78,9 +78,7 @@ export default {
 			.reverse()[0];
 	},
 	init() {
-		this.audio = new Audio(
-			"http://localhost/assets/15-seconds-of-silence.mp3"
-		);
+		this.audio = new Audio("/assets/15-seconds-of-silence.mp3");
 
 		this.audio.loop = true;
 		this.audio.volume = 0.1;