Organisation and reworking stuff

This commit is contained in:
Henrique Dias
2017-07-03 11:20:36 +01:00
parent 191b31e977
commit 8d891f0d51
23 changed files with 47 additions and 87 deletions

View File

@@ -83,7 +83,7 @@ func getInfo(url *url.URL, c *FileManager, u *User) (*file, error) {
var err error
i := &file{
URL: c.RootURL() + "/files" + url.Path,
URL: "/files" + url.Path,
VirtualPath: url.Path,
Path: filepath.Join(string(u.FileSystem), url.Path),
}