Don't append / at the end of the path

This commit is contained in:
TwinProduction committed 2020-11-30 09:23:03 -05:00
1 parent 43504913b4
commit 971967ae78
2 files changed
+24 -26

No files matched your search

+1 -1
View File
@@ -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, "/")
}