diff --git a/api/s5/s5.go b/api/s5/s5.go index 8e0ecfc..12604a6 100644 --- a/api/s5/s5.go +++ b/api/s5/s5.go @@ -183,7 +183,7 @@ func (s *S5API) Routes() (*httprouter.Router, error) { AllowOriginFunc: func(origin string) bool { return true }, - AllowedMethods: []string{"*"}, + AllowedMethods: []string{"POST"}, }) routes := map[string]jape.Handler{