This commit is contained in:
harold 2025-04-18 08:25:49 +05:00
parent 323bcf374e
commit 5a8b35c65c

View File

@ -56,8 +56,8 @@ func GetTemplate1(streamerID int, donatHost, ttsHost string) string {
}` }`
script := fmt.Sprintf(` script := fmt.Sprintf(`
let widgetUrl = 'http://%s/api'; let widgetUrl = 'https://%s/api';
let ttsUrl = 'http://%s/api/tts'; let ttsUrl = 'https://%s/api/tts';
function createTextWithAmount(text, amount) { function createTextWithAmount(text, amount) {
const container = document.createElement('div'); const container = document.createElement('div');