unexport baseURL and webDavURL

This commit is contained in:
Henrique Dias committed 2017-06-25 13:09:49 +01:00
1 parent e6492286db
commit b93158b291
8 files changed
+25 -25

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ const AssetsURL = "/_internal"
// Serve provides the needed assets for the front-end
func serveAssets(w http.ResponseWriter, r *http.Request, m *FileManager) (int, error) {
// gets the filename to be used with Assets function
filename := strings.Replace(r.URL.Path, m.BaseURL+AssetsURL, "", 1)
filename := strings.Replace(r.URL.Path, m.baseURL+AssetsURL, "", 1)
var file []byte
var err error