Bug fix for handling a route's HTTP method in router
This commit is contained in:
@@ -73,7 +73,7 @@ func (ts *HTTPTriggerSet) getRouter() *mux.Router {
|
||||
Function: m,
|
||||
poolmgr: ts.poolmgr,
|
||||
}
|
||||
muxRouter.HandleFunc(trigger.UrlPattern, fh.handler)
|
||||
muxRouter.HandleFunc(trigger.UrlPattern, fh.handler).Methods(trigger.Method)
|
||||
}
|
||||
|
||||
// Internal triggers for (the latest version of) each function
|
||||
|
||||
Reference in New Issue
Block a user