diff --git a/config/application.rb b/config/application.rb index d888d04240b..dec1940a4a3 100644 --- a/config/application.rb +++ b/config/application.rb @@ -82,7 +82,7 @@ module Gitlab config.middleware.use Rack::Cors do allow do origins '*' - resource '/api/*', headers: :any, methods: [:get, :post, :options, :put] + resource '/api/*', headers: :any, methods: [:get, :post, :options, :put, :delete] end end end