BetterErrors/better_errors

Allow to configure internal url

開放

#415 建立於 2018年1月24日

 (1 則留言) (0 個反應) (0 位負責人)Ruby (433 個分叉)batch import
enhancementgood first issue

倉庫指標

星標
 (6,874 顆星)
PR 合併指標
 (30 天內沒有已合併 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

貢獻者指南