rm panic in session/aux

This commit is contained in:
perennial
2024-10-21 23:22:39 +11:00
parent 01df022038
commit 900e456157
+1 -1
View File
@@ -65,7 +65,7 @@ func GetImageProxyPrefix(r *http.Request) string {
func urlAuthority(url url.URL) string {
r := ""
if (url.Scheme != "") != (url.Host != "") {
log.Panicf("url must have both scheme and authority or neither: %s", url.String())
log.Printf("url must have both scheme and authority or neither: %s", url.String())
}
if url.Scheme != "" {
r += url.Scheme + "://"