Commit 85b3c87b authored by Fred Chasen's avatar Fred Chasen

Expose Link header in CORS Api calls

parent c6e24850
...@@ -70,7 +70,7 @@ module Gitlab ...@@ -70,7 +70,7 @@ module Gitlab
config.middleware.use Rack::Cors do config.middleware.use Rack::Cors do
allow do allow do
origins '*' origins '*'
resource '/api/*', headers: :any, methods: [:get, :post, :options, :put, :delete] resource '/api/*', headers: :any, methods: [:get, :post, :options, :put, :delete], expose: ["Link"]
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment