Replies: 3 comments 2 replies
-
Hi Keith! Can you please tell what is your rails_event_store version and can you also paste bigger |
Beta Was this translation helpful? Give feedback.
-
We are currently using rails_event_store version 2.7.0. Here is a bigger namespace :admin do
constraints ->(request) { Auth::AdminService.new(session: request.session).admin? } do
mount Sidekiq::Web => '/sidekiq'
mount RailsEventStore::Browser => '/event_store'
end
end
|
Beta Was this translation helpful? Give feedback.
-
Hi @jkwuc89, We tried to reproduce your issue but we weren't able to. We used new rails app with RES 2.7.0 and following Rails.application.routes.draw do
namespace :admin do
constraints ->(request) { true } do
mount RailsEventStore::Browser => '/event_store'
end
end
end It would be much easier to investigate if provide minimal configuration app that reproduces this issue. |
Beta Was this translation helpful? Give feedback.
-
My team followed these instructions to install and configure the browser. Inside
config/routes.rb
, we use the following to mount the browser route. This is done inside theadmin
namespace.When we run our Rails app locally, the event store browser works as expected when browsing to http://localhost:3000/admin/event_store. When we attempt to load the browser inside our app when deployed to Heroku, we get a blank page with these errors:
I went through the Heroku build log and did not see anything amiss. I'm hoping someone has run into this and knows how to fix it. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions