Fix inv. URL
This commit is contained in:
parent
0520e68ddc
commit
91285f24d0
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -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.",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue