mirror of
https://github.com/cmur2/openvpn-status-web.git
synced 2024-12-22 12:54:24 +01:00
Require better_errors only in development
This commit is contained in:
parent
a78a178150
commit
c14d59e0bf
@ -8,7 +8,7 @@ require 'yaml'
|
|||||||
require 'rack'
|
require 'rack'
|
||||||
require 'erb'
|
require 'erb'
|
||||||
require 'metriks'
|
require 'metriks'
|
||||||
require 'better_errors'
|
require 'better_errors' if ENV['RACK_ENV'] == "development"
|
||||||
|
|
||||||
require 'openvpn-status-web/status'
|
require 'openvpn-status-web/status'
|
||||||
require 'openvpn-status-web/parser/v1'
|
require 'openvpn-status-web/parser/v1'
|
||||||
|
Loading…
Reference in New Issue
Block a user