supplier client sections working with problematic authentication still active
This commit is contained in:
@@ -16,6 +16,13 @@ require File.expand_path('./../../lib/couchbase-setting', __FILE__)
|
||||
Bundler.require(*Rails.groups(assets: %w(development test user_app)))
|
||||
Bundler.require(:assets) if ENV['DEPLOY']=='yes'
|
||||
|
||||
class CouchRest::Connection
|
||||
alias_method :old_execute, :execute
|
||||
def execute(method, path, options, payload = nil, &block)
|
||||
Rails.logger.debug "Couch: #{method} #{Rack::Utils.unescape path} #{options}"
|
||||
old_execute(method, path, options, payload, &block)
|
||||
end
|
||||
end
|
||||
# Bug in actionview error handling, remove for versions > 6.0.2.1
|
||||
module ActionView
|
||||
# = Action View Errors
|
||||
@@ -291,7 +298,7 @@ module Qwaiter
|
||||
allow do
|
||||
origins '*'
|
||||
#resource '/user/*', :headers => '*', :methods => '*' #[:get, :post, :options]
|
||||
resource '*', headers: :any, methods: '*' #[:get, :post, :options]
|
||||
resource '*', headers: :any, methods: [:get, :post, :put, :patch, :delete, :options]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ Qwaiter::Application.configure do
|
||||
config.static_cache_control = "public, max-age=3600"
|
||||
config.assets.compress = false
|
||||
|
||||
config.ember.variant = :development
|
||||
#config.ember.variant = :development
|
||||
|
||||
# Show full error reports and disable caching
|
||||
config.consider_all_requests_local = true
|
||||
|
||||
Reference in New Issue
Block a user