fix: strip baseurl (#626)
This commit is contained in:
1 parent
f1c86054b3
commit
73e0acaa71
2 files changed
+1
-5
No files matched your search
@@ -64,9 +64,5 @@ func handle(fn handleFunc, prefix string, storage *storage.Storage, server *sett
|
||||
}
|
||||
})
|
||||
|
||||
if prefix == "" {
|
||||
return handler
|
||||
}
|
||||
|
||||
return http.StripPrefix(prefix, handler)
|
||||
}
|
||||
Reference in new issue
Block a user