basepath fixes
This commit is contained in:
parent
5e453e3227
commit
f3c55ba5f2
4 changed files with 25 additions and 29 deletions
|
|
@ -54,9 +54,6 @@ func (s *Server) Start() {
|
|||
}
|
||||
}
|
||||
|
||||
func unsafeMethod(method string) bool {
|
||||
return method == "POST" || method == "PUT" || method == "DELETE"
|
||||
}
|
||||
|
||||
/*
|
||||
func (h Server) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue