mirror of
https://github.com/kataras/iris.git
synced 2025-12-23 04:47:02 +00:00
minor: sessions: set SameSite to Lax when sharable with subdomains is not disabled.
Former-commit-id: d0b15433d5f325f24972669b485be9cf5be6d68a
This commit is contained in:
@@ -55,7 +55,7 @@ func (r resource) loadFromBase(dir string) string {
|
||||
result := string(b)
|
||||
|
||||
if runtime.GOOS != "windows" {
|
||||
// result = strings.Replace(result, "\n", "\r\n", -1)
|
||||
result = strings.Replace(result, "\n", "\r\n", -1)
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user