Trim BaseURL

This commit is contained in:
Henrique Dias
2017-06-27 10:31:50 +01:00
parent 1d26b8e95e
commit 6bce6fb584
5 changed files with 22 additions and 9 deletions

View File

@@ -18,6 +18,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
func main() {
m = filemanager.New("D:\\TEST")
m.SetBaseURL("/vaca")
http.HandleFunc("/", handler)
http.ListenAndServe(":8080", nil)
}