Strip path from initial request and consistency changes

This commit is contained in:
Henrique Dias committed 2017-06-27 10:45:06 +01:00
1 parent 6bce6fb584
commit 5f98fd89a8
7 files changed
+50 -51

No files matched your search

+3 -3
View File
@@ -102,9 +102,9 @@ func serveSingle(ctx *requestContext, w http.ResponseWriter, r *http.Request) (i
IsDir: false,
Data: ctx.Info,
User: ctx.User,
PrefixURL: ctx.FileManager.PrefixURL,
BaseURL: ctx.FileManager.AbsoluteURL(),
WebDavURL: ctx.FileManager.AbsoluteWebDavURL(),
PrefixURL: ctx.FileManager.prefixURL,
BaseURL: ctx.FileManager.RootURL(),
WebDavURL: ctx.FileManager.WebDavURL(),
}
// If the request accepts JSON, we send the file information.