BetterErrors/better_errors

Allow to configure internal url

Open

#415 opened on 2018年1月24日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Ruby (433 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (6,874 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

Right now the internal path seems to be hardcoded to /__better_errors. See https://github.com/charliesome/better_errors/blob/master/lib/better_errors/middleware.rb#L74

It should be possible to configure/ prefix this path. This is needed if the rails project is not "mounted" at the root level, ex at /my_rails_app1/.... The correct path would then be /my_rails_app1/__better_errors

コントリビューターガイド