commit | df3d4b5a6d414175ecbde3a9c73e3153c74a24c6 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Nov 29 16:57:27 2017 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Nov 29 16:57:27 2017 +0100 |
tree | 6eb6ed9b7cf9987c64fe9e566486bbe4978f9787 | |
parent | c1e42c3959351e76c32654dc446ee0526e75a413 [diff] [blame] |
w2v-server: minimal style tabs
diff --git a/w2v-server.pl b/w2v-server.pl index 6d6f421..6c6d6d8 100755 --- a/w2v-server.pl +++ b/w2v-server.pl
@@ -82,6 +82,14 @@ $c->reply->static($url); }; +get '*/img/*' => sub { + my $c = shift; + my $url = $c->req->url; + $url =~ s@/derekovecs@@g; + $c->app->log->info("GET: " . $url); + $c->reply->static($url); +}; + get '/' => sub { my $c = shift; $c->app->log->info("get: ".$c->req->url->to_abs);