BetterErrors/better_errors

Allow to configure internal url

Open

#415 ouverte le 24 janv. 2018

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Ruby (433 forks)batch import
enhancementgood first issue

Métriques du dépôt

Stars
 (6 874 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur