Remove a bunch more cruft

This commit is contained in:
James Mills
2022-10-05 11:19:27 +10:00
parent a07f747eb1
commit 2ba2451108
9 changed files with 10 additions and 85 deletions

View File

@@ -325,7 +325,7 @@ func NormalizeURL(url string) string {
}
// RedirectRefererURL constructs a Redirect URL from the given Request URL
// and possibly Referer, if the Referer's Base URL matches the Pod's Base URL
// and possibly Referer, if the Referer's Base URL matches the Server's Base URL
// will return the Referer URL otherwise the defaultURL. This is primarily used
// to redirect a user from a successful /login back to the page they were on.
func RedirectRefererURL(r *http.Request, conf *Config, defaultURL string) string {