diff --git a/config.json b/config.json index 9d570af..86e65c8 100644 --- a/config.json +++ b/config.json @@ -5,8 +5,7 @@ "WriteTimeout": 10, "MaxHeaderBytes": 1048576, "HttpBodySizeLimit": 1048576, - "AllowedContentTypes": ["application/json"], - "AllowedMethods": ["POST"] + "AllowedContentTypes": ["application/json"] }, "Database": { diff --git a/server.go b/server.go index 5ffc3e1..c4549a7 100644 --- a/server.go +++ b/server.go @@ -24,7 +24,6 @@ import ( type Server struct { *http.Server AllowedContentTypes []string - AllowedMethods []string HttpBodySizeLimit int64 }