mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 10:27:06 +00:00
nothing important here
Former-commit-id: e6c4ade12d085cb8fa4989b15fa446b75ee114b2
This commit is contained in:
@@ -115,6 +115,7 @@ func formatCookieDomain(ctx context.Context, disableSubdomainPersistence bool) s
|
||||
requestDomain = requestDomain[dotIdx+1:]
|
||||
}
|
||||
}
|
||||
|
||||
// finally set the .localhost.com (for(1-level) || .mysubdomain.localhost.com (for 2-level subdomain allow)
|
||||
return "." + requestDomain // . to allow persistence
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user