use concat and not string.format

This commit is contained in:
Pierce 2023-08-23 18:14:49 -04:00
parent db7ca1bb17
commit c6d93784d0
No known key found for this signature in database
GPG Key ID: EC79465B0E865E47

View File

@ -38,7 +38,7 @@ function CFCHTTP.GetRedirectURL( url )
url = string.Replace( url, "\n", "" )
url = string.Trim( url )
local b64 = util.Base64Encode( url, true )
return string.format( "https://gmhttp.pages.dev/redirect?url=%s", b64 )
return "https://gmhttp.pages.dev/redirect?url=" .. b64
end
---@param text string