Skip to content

Commit

Permalink
Merge pull request #1735 from nervosnetwork/develop
Browse files Browse the repository at this point in the history
Deploy to testnet
  • Loading branch information
zmcNotafraid authored Apr 2, 2024
2 parents 7a7176f + 5e8809f commit 7b742f3
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 @@ -19,6 +19,7 @@
allow do
origins ["https://explorer.nervos.org",
"https://pudge.explorer.nervos.org",
"http://localhost:3000",
/\Ahttps:\/\/ckb-explorer-.*-magickbase.vercel.app\z/] +
ENV["PARTNER_DOMAINS"].to_s.split(",").map(&:strip).map { |x| x.start_with?("/") ? Regexp.new(x[1..-2]) : x }
resource "*", headers: :any, methods: %i[get post put head options]
Expand Down

0 comments on commit 7b742f3

Please sign in to comment.