mirror of
https://github.com/chenasraf/snpr.git
synced 2026-05-18 01:39:01 +00:00
Fixes the sidekiq-CSS-issue in production
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
require 'sidekiq/web'
|
||||
require ::File.expand_path('../config/environment', __FILE__)
|
||||
run Snpr::Application
|
||||
|
||||
run Rack::URLMap.new(
|
||||
"/" => Rails.application,
|
||||
"/sidekiq" => Sidekiq::Web
|
||||
)
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
require 'sidekiq/web'
|
||||
Snpr::Application.routes.draw do
|
||||
resources :static
|
||||
resources :phenotypes do
|
||||
@@ -75,8 +74,6 @@ Snpr::Application.routes.draw do
|
||||
|
||||
root :to => 'index#index' # change this, maybe
|
||||
|
||||
mount Sidekiq::Web, at: '/sidekiq'
|
||||
|
||||
# The priority is based upon order of creation:
|
||||
# first created -> highest priority.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user