BetterErrors/better_errors

Allow to configure internal url

Open

#415 创建于 2018年1月24日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Ruby (433 fork)batch import
enhancementgood first issue

仓库指标

Star
 (6,874 star)
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

贡献者指南