diff options
author | Fred Chasen <fchasen@gmail.com> | 2015-01-23 14:57:48 -0500 |
---|---|---|
committer | Fred Chasen <fchasen@gmail.com> | 2015-01-23 14:57:48 -0500 |
commit | 85b3c87b7f35843f26a9ead60f0bbfcb1d64dc2a (patch) | |
tree | 819ddca8ede2dae7ccf3badc302e8b3da53086f4 /config/application.rb | |
parent | c6e24850a3ad662d82f8e0812eb2a38df4f43c13 (diff) | |
download | gitlab-ce-85b3c87b7f35843f26a9ead60f0bbfcb1d64dc2a.tar.gz |
Expose Link header in CORS Api calls
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb index a7d371c78ea..ac21d23294f 100644 --- a/config/application.rb +++ b/config/application.rb @@ -70,7 +70,7 @@ module Gitlab config.middleware.use Rack::Cors do allow do 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 |