]> git.sesse.net Git - remoteglot/commitdiff
Unbreak analysis.pl.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 18 Nov 2013 23:10:26 +0000 (00:10 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 18 Nov 2013 23:10:26 +0000 (00:10 +0100)
www/analysis.pl
www/app.psgi
www/css/remoteglot.css

index b7e99b6639d951401654b58f282acaf8d4d292f3..616976459e748b953e184dcb5867366cfdc3bedc 100755 (executable)
@@ -7,7 +7,7 @@ use AnyEvent;
 use strict;
 use warnings;
 
-my $json_filename = "/srv/analysis.sesse.net/www/analysis.json";
+our $json_filename = "/srv/analysis.sesse.net/www/analysis.json";
 
 my $cv = AnyEvent->condvar;
 my $updated = 0;
index 2666248f149a201cdfc52eda7c251f5cafe4d698..172dced45806288a228d54b0a6b73cb7d26f0cfd 100644 (file)
@@ -19,7 +19,7 @@ if ($File::pushd::VERSION < 1.005) {
        print STDERR "Do not run in production!\n\n";
 }
 
-my $cgi = CGI::Compile->compile('/srv/analysis.sesse.net/analysis.pl');
+my $cgi = CGI::Compile->compile('/srv/analysis.sesse.net/www/analysis.pl');
 my $handler = CGI::Emulate::PSGI->handler($cgi);
 
 sub {
index 6cd931a081547186c0cd82089cdc83006a8d9872..543a5b62122fbe5e73ae3abc4421618ce63185fd 100644 (file)
@@ -62,6 +62,8 @@ p {
        float: left;
        width: 400px;
        height: 400px;
+       margin-right: 1em;
+       margin-bottom: 1em;
 }
 #analysis {
        display: block;