Skip to content

Commit

Permalink
Send request over HTTPS (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
JstnMcBrd authored Feb 13, 2024
1 parent dc27f1a commit 3600d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default async function dectalk(text: string): Promise<Buffer> {
}

// 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
Expand Down

0 comments on commit 3600d8a

Please sign in to comment.