mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-05-02 13:22:42 +00:00
fix(main): correct formatting and improve readability in main.go
This commit is contained in:
+1
-1
@@ -145,7 +145,7 @@ func parseBindNetFromAddr(address string) (string, string) {
|
||||
return "", address
|
||||
}
|
||||
|
||||
func parseSameSite(s string) (http.SameSite) {
|
||||
func parseSameSite(s string) http.SameSite {
|
||||
switch strings.ToLower(s) {
|
||||
case "none":
|
||||
return http.SameSiteNoneMode
|
||||
|
||||
Reference in New Issue
Block a user