]> www.fi.muni.cz Git - paste.git/blobdiff - paste.pl
Dev/Prod mode settings in config, git repo URL
[paste.git] / paste.pl
index fbbb0cc0197859ba3aff27f1e49a1feaa12d9fb2..a750dfa6ecc70a745b11c6121fb5be8c5a1cee94 100755 (executable)
--- a/paste.pl
+++ b/paste.pl
@@ -65,6 +65,7 @@ get '/<filename>.<ext>'
        $c->render;
 } => 'default';
 
+app->mode(app->config->{mode});
 app->start;
 
 __DATA__
@@ -172,7 +173,7 @@ __DATA__
     <%= content %>
     <div class="footer">
       Created by <b>Yenya's Paste Bin</b>,
-        <a href="https://www.fi.muni.cz/~kas/git/paste/">www.fi.muni.cz/~kas/git/paste</a>
+        <a href="https://www.fi.muni.cz/~kas/git/paste.git/">www.fi.muni.cz/~kas/git/paste</a>
     </div>
   </div></body>
 </html>