i give up
This commit is contained in:
parent
61842ba0c8
commit
423d7047cb
1 changed files with 2 additions and 2 deletions
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
Rails.application.config.middleware.insert_before 0, Rack::Cors do
|
||||
allow do
|
||||
origins ENV.fetch("CORS_ORIGIN","").split(",")
|
||||
|
||||
# origins ENV.fetch("CORS_ORIGIN","").split(",")
|
||||
origins ["127.0.0.1:3000", "app.granblue.team", "hensei-web-production.up.railway.app"]
|
||||
resource '*',
|
||||
headers: :any,
|
||||
methods: [:get, :post, :put, :patch, :delete, :options, :head]
|
||||
|
|
|
|||
Loading…
Reference in a new issue