Compare commits

..

No commits in common. "v1.60.2" and "v1.60.1" have entirely different histories.

2 changed files with 2 additions and 1 deletions

View file

@ -18,6 +18,7 @@ import { SoundInitializerService } from './shared/services/sound-initializer.ser
LoginComponent,
RegisterComponent,
RecoverPasswordComponent,
PlaySoundDirective,
],
templateUrl: './app.component.html',
hostDirectives: [PlaySoundDirective],

View file

@ -11,7 +11,7 @@ export class AudioService {
return this.audioCache.get(soundName)!;
}
const audio = new Audio(`/sounds/${soundName}`);
const audio = new Audio(`/sounds/${soundName}.mp3`);
this.audioCache.set(soundName, audio);
return audio;
}