frontend URLs: *../resources -> /resources

This commit is contained in:
Erik Arvstedt committed 2022-07-11 13:32:23 +02:00
1 parent 4b3cc7396c
commit 90b9c5fe8a
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ export class AudioService {
return;
}
this.isPlaying = true;
this.audio.src = '../../../resources/sounds/' + name + '.mp3';
this.audio.src = '/resources/sounds/' + name + '.mp3';
this.audio.load();
this.audio.volume = 0.65; // 65% volume
this.audio.play().catch((e) => {