Remove space from dsn in app.psgi
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 28 Jan 2015 17:30:30 +0000 (19:30 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 28 Jan 2015 17:30:30 +0000 (19:30 +0200)
app.psgi

index 058bfc171284f3ed3820e59aa2bc701afbb9c26b..7dce99b972bbfd7fe9448ca2ac9172fff6ba5102 100644 (file)
--- 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};
 
This page took 0.010265 seconds and 4 git commands to generate.