cleanup var names

This commit is contained in:
Pierre Dubouilh
2018-09-12 19:29:32 +02:00
parent ba42b00304
commit 496490ba29
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -156,7 +156,7 @@ func doContent(w http.ResponseWriter, r *http.Request) {
}
func upload(w http.ResponseWriter, r *http.Request) {
unescaped, _ := url.PathUnescape(r.Header.Get("bossa-path"))
unescaped, _ := url.PathUnescape(r.Header.Get("gossa-path"))
fullPath, err := checkPath(unescaped)
logVerb("Up", err, fullPath)
@@ -232,7 +232,7 @@ func main() {
}
var hostString = *host + ":" + *port
fmt.Println("Bossa startig on directory " + initPath)
fmt.Println("Gossa startig on directory " + initPath)
fmt.Println("Listening on http://" + hostString)
var root = http.Dir(initPath)