mirror of
https://github.com/kataras/iris.git
synced 2026-03-08 01:16:30 +00:00
:)
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.ReplaceAll(result, "\n", "\r\n")
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user