From 524fffc729164293b1475481bc90658b66c42a47 Mon Sep 17 00:00:00 2001 From: Justin McBride Date: Mon, 12 Feb 2024 17:59:49 -0700 Subject: [PATCH] Send request over HTTPS --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 45ebcba..56accb1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -15,7 +15,7 @@ export default async function dectalk(text: string): Promise { } // Format request URL - const url = new URL('http://tts.cyzon.us/tts'); + const url = new URL('https://tts.cyzon.us/tts'); url.search = new URLSearchParams({ text }).toString(); // Send request