mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 02:11:49 +01:00
frontend URLs: *../resources
-> /resources
This commit is contained in:
parent
4b3cc7396c
commit
90b9c5fe8a
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user