See if it deploys
This commit is contained in:
@@ -9,7 +9,7 @@ Qwaiter::Application.configure do
|
||||
config.cache_classes = false
|
||||
config.middleware.insert_before 0, Rack::Cors do
|
||||
allow do
|
||||
origins 'https://localhost:4202', 'https://localhost:4201', 'http://localhost:9296', 'supplier.mozo.local', 'user.mozo.local', 'events.mozo.local'
|
||||
origins 'https://localhost:4202', 'https://localhost:4201', 'https://localhost:9296', 'supplier.mozo.local', 'user.mozo.local', 'events.mozo.local'
|
||||
#resource '/user/*', :headers => '*', :methods => '*' #[:get, :post, :options]
|
||||
resource '*', headers: :any, methods: %i[get post put patch delete options]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user