mozo-user connection changes
This commit is contained in:
@@ -138,12 +138,13 @@ module Qwaiter
|
||||
end
|
||||
end
|
||||
|
||||
#config.middleware.use Rack::Cors do
|
||||
# allow do
|
||||
# origins '*'
|
||||
# resource '/user/*', :headers => '*,auth_token', :methods => '*' #[:get, :post, :options]
|
||||
# end
|
||||
#end
|
||||
config.middleware.insert_before 0, "Rack::Cors" do
|
||||
allow do
|
||||
origins '*'
|
||||
#resource '/user/*', :headers => '*', :methods => '*' #[:get, :post, :options]
|
||||
resource '*', headers: :any, methods: '*' #[:get, :post, :options]
|
||||
end
|
||||
end
|
||||
|
||||
# Version of your assets, change this if you want to expire all your assets
|
||||
config.assets.version = '1.0'
|
||||
|
||||
Reference in New Issue
Block a user