See if it deploys

This commit is contained in:
2022-01-31 12:17:03 -05:00
parent 13efc63c88
commit 711cd95ad4
3 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -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