diff --git a/config/application.rb b/config/application.rb index d888d04240b874e1d823ce711926841ac6fb4ad4..dec1940a4a3a8dda7492c3c1dd1fccee9588328d 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