From 5a8b35c65ca8b15ca1de4e4492ff8c3c27561b19 Mon Sep 17 00:00:00 2001 From: harold Date: Fri, 18 Apr 2025 08:25:49 +0500 Subject: [PATCH] add fix --- internal/model/widget-templates.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/model/widget-templates.go b/internal/model/widget-templates.go index bca8237..838e65a 100644 --- a/internal/model/widget-templates.go +++ b/internal/model/widget-templates.go @@ -56,8 +56,8 @@ func GetTemplate1(streamerID int, donatHost, ttsHost string) string { }` script := fmt.Sprintf(` -let widgetUrl = 'http://%s/api'; -let ttsUrl = 'http://%s/api/tts'; +let widgetUrl = 'https://%s/api'; +let ttsUrl = 'https://%s/api/tts'; function createTextWithAmount(text, amount) { const container = document.createElement('div');