Fix inv. URL

This commit is contained in:
Phil 2021-12-07 17:37:04 +01:00
parent 0520e68ddc
commit 91285f24d0

View file

@ -68,7 +68,7 @@ func main() {
if !regexp.MustCompile(`^(http|https|mailto|ts3server)://`).MatchString(u.URL) { if !regexp.MustCompile(`^(http|https|mailto|ts3server)://`).MatchString(u.URL) {
return c.Render("home", fiber.Map{ return c.Render("home", fiber.Map{
"ERR": err.Error(), "ERR": "Invalid URL, please check and try again.",
}) })
} }