Don't append / at the end of the path
This commit is contained in:
1 parent
43504913b4
commit
971967ae78
2 files changed
+24
-26
No files matched your search
+1
-1
@@ -59,5 +59,5 @@ func (web *webConfig) SocketAddress() string {
|
||||
|
||||
// PrependWithContextRoot appends the given path to the ContextRoot
|
||||
func (web *webConfig) PrependWithContextRoot(path string) string {
|
||||
return web.ContextRoot + strings.Trim(path, "/") + "/"
|
||||
return web.ContextRoot + strings.Trim(path, "/")
|
||||
}
|
||||
Reference in new issue
Block a user