Updates on auth and db

This commit is contained in:
Henrique Dias committed 2017-07-03 08:59:49 +01:00
1 parent 1d235c9852
commit 6312c60b2e
10 files changed
+303 -272

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ func command(c *requestContext, w http.ResponseWriter, r *http.Request) (int, er
}
// Gets the path and initializes a buffer.
path := c.us.Scope + "/" + r.URL.Path
path := string(c.us.FileSystem) + "/" + r.URL.Path
path = filepath.Clean(path)
buff := new(bytes.Buffer)