diff --git a/Astrocore.Api/Controllers/TextToSpeechController.cs b/Astrocore.Api/Controllers/TextToSpeechController.cs index 43e3d0b..382efbf 100644 --- a/Astrocore.Api/Controllers/TextToSpeechController.cs +++ b/Astrocore.Api/Controllers/TextToSpeechController.cs @@ -62,7 +62,7 @@ namespace Astrocore.Api.Controllers } var dfpwmBytes = await System.IO.File.ReadAllBytesAsync(dfpwmPath); - return File(dfpwmBytes, "application/octet-stream", "tts.dfpwm"); + return File(dfpwmBytes, "application/octet-stream", $"{fileNameGuid}.dfpwm"); } } }