You've already forked remote-local-storage
update anyhttp
This commit is contained in:
4
main.go
4
main.go
@@ -25,7 +25,9 @@ func main() {
|
||||
flag.Parse()
|
||||
|
||||
http.HandleFunc("/", func(w http.ResponseWriter, _ *http.Request) {
|
||||
w.Write([]byte("<h2>Error!</h2><p>Check your webserver config, You should not see this!</p>"))
|
||||
if _, err := w.Write([]byte("<h2>Error!</h2><p>Check your webserver config, You should not see this!</p>")); err != nil {
|
||||
log.Panic(err)
|
||||
}
|
||||
})
|
||||
|
||||
http.HandleFunc("/wrap/", func(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
Reference in New Issue
Block a user