mozo-user connection changes

This commit is contained in:
2015-09-06 17:29:34 +02:00
parent c55740be0a
commit 4ef7ecba41
13 changed files with 379 additions and 319 deletions
+7 -6
View File
@@ -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'