mirror of
https://github.com/gwenhael-le-moine/credger.git
synced 2024-12-25 09:58:43 +01:00
disable logging by default
This commit is contained in:
parent
a80fcfc8f7
commit
71574065fe
1 changed files with 2 additions and 1 deletions
|
@ -4,12 +4,13 @@ require "./ledger"
|
|||
|
||||
ENV["CREDGER_CURRENCY"] ||= "€"
|
||||
ENV["CREDGER_SEPARATOR"] ||= ","
|
||||
|
||||
ENV["CREDGER_PORT"] ||= "3000"
|
||||
ENV["CREDGER_VERBOSE"] ||= "false"
|
||||
|
||||
WD = File.dirname( Process.executable_path.to_s )
|
||||
|
||||
public_folder( "#{WD}/public" )
|
||||
logging ENV["CREDGER_VERBOSE"] == "true"
|
||||
|
||||
# Matches GET "http://host:port/"
|
||||
get "/" do |env|
|
||||
|
|
Loading…
Reference in a new issue