diff --git a/internal/chatbot/chatbot.go b/internal/chatbot/chatbot.go index 0ad5df2..7d42f18 100644 --- a/internal/chatbot/chatbot.go +++ b/internal/chatbot/chatbot.go @@ -50,7 +50,7 @@ func NewChatBot(ctx context.Context, streamUrl string, cfg config.ChatBot, logEr } func validUrl(url string) string { - valid := strings.TrimLeft(url, "http://") + valid := url if !strings.HasPrefix(valid, "https://") { valid = "https://" + valid }