unexport baseURL and webDavURL

Former-commit-id: b93158b291d88b0237f28a5322b2df9d62331e57
This commit is contained in:
Henrique Dias
2017-06-25 13:09:49 +01:00
parent f917b4222c
commit 475a07671d
8 changed files with 25 additions and 25 deletions

View File

@@ -71,7 +71,7 @@ func search(w http.ResponseWriter, r *http.Request, c *FileManager, u *user) (in
}
search = parseSearch(value)
scope := strings.Replace(r.URL.Path, c.BaseURL, "", 1)
scope := strings.Replace(r.URL.Path, c.baseURL, "", 1)
scope = strings.TrimPrefix(scope, "/")
scope = "/" + scope
scope = u.scope + scope