Skip to content

Commit

Permalink
Expose some headers in cors
Browse files Browse the repository at this point in the history
  • Loading branch information
ZaikoXander committed Nov 12, 2024
1 parent dabdd53 commit cbc8d4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/cors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

resource "*",
headers: :any,
expose: [ "Access-Token", "Uid", "Client" ],
methods: [ :get, :post, :put, :patch, :delete, :options, :head ]
end
end

0 comments on commit cbc8d4c

Please sign in to comment.