diff --git a/extractor/utils.go b/extractor/utils.go index 0468aac..4459a5d 100644 --- a/extractor/utils.go +++ b/extractor/utils.go @@ -6,14 +6,14 @@ import ( ) func ProxyUrl(url string) string { - encodedUrl := b64.StdEncoding.EncodeToString([]byte(url)) + encodedUrl := b64.URLEncoding.EncodeToString([]byte(url)) backendUrl := os.Getenv("URL") return backendUrl + "/proxy/img/" + encodedUrl } func ProxyClip(url string) string { - encodedUrl := b64.StdEncoding.EncodeToString([]byte(url)) + encodedUrl := b64.URLEncoding.EncodeToString([]byte(url)) backendUrl := os.Getenv("URL") return backendUrl + "/proxy/clip/" + encodedUrl