Skip to content

Commit

Permalink
Send request over HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
JstnMcBrd committed Feb 13, 2024
1 parent dc27f1a commit 524fffc
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 524fffc

Please sign in to comment.