diff --git a/main.go b/main.go index 3547095..9d8f9aa 100644 --- a/main.go +++ b/main.go @@ -124,6 +124,8 @@ func shortner(ctx *web.Context) { port = ":" + port + "/" } else if port != "443" && proto == "https" { port = ":" + port + "/" + } else if port == "443" || port == "80" { + port = "/" } err := set(conn, u.String(), suffix) if err != nil {