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');