supplier client sections working with problematic authentication still active

This commit is contained in:
2020-02-27 15:44:43 -05:00
parent 9e86b18c3e
commit 2149345d3d
33 changed files with 456 additions and 281 deletions
+8 -1
View File
@@ -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
+1 -1
View File
@@ -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