mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 02:47:04 +00:00
minor: sessions: set SameSite to Lax when sharable with subdomains is not disabled.
Former-commit-id: d0b15433d5f325f24972669b485be9cf5be6d68a
This commit is contained in:
@@ -54,7 +54,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