Its been a while
This commit is contained in:
@@ -7,10 +7,11 @@
|
||||
|
||||
Rails.application.config.middleware.insert_before 0, Rack::Cors do
|
||||
allow do
|
||||
origins "*"
|
||||
origins 'http://localhost:3001'
|
||||
|
||||
resource "*",
|
||||
headers: :any,
|
||||
methods: [ :get, :post, :put, :patch, :delete, :options, :head ]
|
||||
methods: [ :get, :post, :put, :patch, :delete, :options, :head ],
|
||||
credentials: true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user