mirror of
https://github.com/kataras/iris.git
synced 2025-12-30 08:17:18 +00:00
Former-commit-id: 2b5ae1857a5815977507b6b8fc72dd0040d470ca
This commit is contained in:
@@ -499,8 +499,6 @@ func toWebPath(systemPath string) string {
|
||||
webpath := strings.Replace(systemPath, "\\", "/", -1)
|
||||
// double slashes to single
|
||||
webpath = strings.Replace(webpath, "//", "/", -1)
|
||||
// remove all dots
|
||||
webpath = strings.Replace(webpath, ".", "", -1)
|
||||
return webpath
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user