Updates on auth and db

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

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)