Organisation and reworking stuff

Former-commit-id: 01621444e51316cc9f125e4d541caf9d6c9d37a1 [formerly 733a976b594348754cb34b27c594c485fd5b0df4] [formerly 36a2f39b0e471ee231343ebaed474ae247764b37 [formerly 8d891f0d51]]
Former-commit-id: 505c381e3135c0e0607e984a37e908672e8100a3 [formerly a6e70288608c6ee1edc380af76ee3e82ff62861a]
Former-commit-id: d946069b4f8ad1b19da7ee087901762b3f4b7936
This commit is contained in:
Henrique Dias
2017-07-03 11:20:36 +01:00
parent 8b98abedea
commit bae3c341f6
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),
}