updates based on F5 testing

This commit is contained in:
2020-03-06 08:35:12 -05:00
parent 8288595b3f
commit f1ef618dae
18 changed files with 66 additions and 32 deletions
+1
View File
@@ -21,6 +21,7 @@ if Rails.env.development?
alias_method :old_execute, :execute
def execute(method, path, options, payload = nil, &block)
Rails.logger.debug "Couch: #{method} #{Rack::Utils.unescape path} #{options}"
puts "Couch: #{method} #{Rack::Utils.unescape path} #{options}"
old_execute(method, path, options, payload, &block)
end
end
+1
View File
@@ -0,0 +1 @@
qGuAi9ahLUJEShPQPWLZJXisYOSUQbrHQHNK1FAR0WcDIpK108h/2BRj3UHq29kkXffQx/L685yBZ7+M+BkActkD7ewjiZkeTFoVrs04PpRofA6AuCotSdqP2loBBcm90zHZZJ+NHlxGWNl/+LDxx59hQLLW59iyKZer+rUSXZ13PUVKmzq0JdjKlYmKi+GiNv5loZOH/e8v0qjUlrNZSHXpYrCTLesFFOk+TRs7yyWwz0LDzDhzqMTZqGUe9HtDNmocwFnEcXGASxNeV6DL3BgNs3C7TP2fr/3Mzw5DfoS65JhlE1OVjTHl25VuUc9M6+9t/SIBcgwNk/b5CNwSDzrd5JdFhn9DMJKHNQVV42vQ56K7+7LSurWgpf9LogAF+UOTan/oXz1xg4ckDczJTSHAqDrxD0Mtbc/H--OJqRgtqB2Y1zTwMG--umJWjBt94H2enx6iUyRHqw==
+1 -1
View File
@@ -62,7 +62,7 @@ Qwaiter::Application.configure do
# config.cache_store = :mem_cache_store
# Enable serving of images, stylesheets, and JavaScripts from an asset server
config.action_controller.asset_host = "https://assets.mozo.bar"
config.assets.asset_host = "https://assets.mozo.bar"
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
# config.assets.precompile += %w( search.js )
+5 -2
View File
@@ -78,7 +78,11 @@ Qwaiter::Application.routes.draw do
get '/close_window' => 'dashboard#close_window'
namespace :users, path: '/user/api/v1' do
resources :product_categories, only: [:index]
resources :suppliers, only: [:show]
resources :suppliers do
member do
get :product_categories
end
end
resources :lists, only: [:index, :show] do
collection do
get :current
@@ -102,7 +106,6 @@ Qwaiter::Application.routes.draw do
post :join
post :order_products
get :status_info
get :supplier
end
end
end
+1 -1
View File
@@ -19,4 +19,4 @@ test:
# Do not keep production secrets in the repository,
# instead read values from the environment.
production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
secret_key_base: 9b7e6a299a820824ebe2c4717e0125e7a5c64c6950dbeb1b69389e41121f891ecc97b4a54f272b8aee20fecb42b3cc03e39825333bd9058fb1b4e033ced892a1