Infrastructure connection updates

This commit is contained in:
2020-03-04 19:52:28 -05:00
parent 51748d5783
commit aec5364f2e
14 changed files with 48 additions and 21 deletions
+1 -1
View File
@@ -298,7 +298,7 @@ module Qwaiter
config.middleware.insert_before 0, Rack::Cors do
allow do
origins '*'
origins 'localhost', 'supplier.mozo.local', 'user.mozo.local'
#resource '/user/*', :headers => '*', :methods => '*' #[:get, :post, :options]
resource '*', headers: :any, methods: [:get, :post, :put, :patch, :delete, :options]
end