This commit is contained in:
2025-06-15 22:15:52 -04:00
parent 6a5517609c
commit 1ea8aca850
2 changed files with 3 additions and 2 deletions

View File

@@ -37,7 +37,8 @@ end
local function playTTSFile(value)
local ttsRoute = "https://ttsmp3.com/makemp3_new.php"
local fileName = "tts"
local body = "msg=" .. textutils.urlEncode(value) .. "&lang=Gwyneth&source=ttsmp3"
local encodedValue = textutils.urlEncode(value)
local body = "msg=" .. encodedValue .. "&lang=Gwyneth&source=ttsmp3"
local headers = {
["Content-Type"] = "application/x-www-form-urlencoded"
}