Major changes on API

This commit is contained in:
Henrique Dias
2017-07-02 17:40:52 +01:00
parent 01c78d2b36
commit 1f7974de38
18 changed files with 470 additions and 638 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 := c.us.Scope + "/" + r.URL.Path
path = filepath.Clean(path)
buff := new(bytes.Buffer)