diff --git a/LCU.Webapps.Marketing.SPIT/.codex b/LCU.Webapps.Marketing.SPIT/.codex
deleted file mode 100644
index e69de29..0000000
diff --git a/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/Pages/Index.razor b/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/Pages/Index.razor
index 6fcf1fe..8d0daa6 100644
--- a/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/Pages/Index.razor
+++ b/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/Pages/Index.razor
@@ -214,20 +214,12 @@
return;
}
- try
- {
- await JSRuntime.InvokeVoidAsync(
- "synthesizeSpeech",
- spitConfiguration.SpeechApiKey,
- spitConfiguration.Region,
- spitConfiguration.SpeechEndpoint,
- _textToSpeech.Ssml);
- }
- catch (JSException ex)
- {
- Log.Error(ex, "Play sound failed.");
- toastService.ShowError($"Unable to play sound. {ex.Message}");
- }
+ await JSRuntime.InvokeVoidAsync(
+ "synthesizeSpeech",
+ spitConfiguration.SpeechApiKey,
+ spitConfiguration.Region,
+ spitConfiguration.SpeechEndpoint,
+ _textToSpeech.Ssml);
}
public void OpenDirectory(string fileDestination)
diff --git a/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/Pages/_Host.cshtml b/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/Pages/_Host.cshtml
index 7815890..2e0f431 100644
--- a/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/Pages/_Host.cshtml
+++ b/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/LCU.Webapps.Marketing.SPIT/Pages/_Host.cshtml
@@ -48,7 +48,7 @@ System.Text.RegularExpressions.Regex.IsMatch(userAgent, @"MSIE \d|Trident.*rv:")
-
-
+
+