From: Marius Gavrilescu Date: Wed, 28 Jan 2015 17:30:30 +0000 (+0200) Subject: Remove space from dsn in app.psgi X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=b5885a0b83c28fd6437ba42aa814eec645f92353;p=plack-app-gruntmaster.git Remove space from dsn in app.psgi --- diff --git a/app.psgi b/app.psgi index 058bfc1..7dce99b 100644 --- a/app.psgi +++ b/app.psgi @@ -15,7 +15,7 @@ use constant AUTH_TIMEOUT => 5 * 60; use constant ACCESSLOG_FORMAT => '%{X-Forwarded-For}i|%h %u "%r" %>s %b "%{Referer}i" "%{User-agent}i"'; use constant CONTENT_SECURITY_POLICY => q,default-src 'none'; script-src 'self' www.google-analytics.com; style-src 'self'; img-src 'self'; connect-src 'self'; frame-src free.timeanddate.com,; -our $db //= Gruntmaster::Data->connect($ENV{GRUNTMASTER_DSN} //' dbi:Pg:'); +our $db //= Gruntmaster::Data->connect($ENV{GRUNTMASTER_DSN} // 'dbi:Pg:'); tie my %auth, 'Tie::Hash::Expire', {expire_seconds => AUTH_TIMEOUT};