Skip to content

Commit

Permalink
Merge pull request #1736 from nervosnetwork/testnet
Browse files Browse the repository at this point in the history
Deploy to mainnet
  • Loading branch information
zmcNotafraid authored Apr 2, 2024
2 parents 6423798 + 7b742f3 commit e7f7f11
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 e7f7f11

Please sign in to comment.