commit | a927057bf466f35afe102ce7ec992884cd401dd9 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sat Mar 17 15:17:07 2018 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sat Mar 17 15:17:07 2018 +0100 |
tree | 680422206ac38162bfea249004550bbc6e5c3aa1 | |
parent | 6c8b59a648f4529985e011f48c988209d7ac2d26 [diff] [blame] |
w2v-server: put css in a separate file
diff --git a/w2v-server.pl b/w2v-server.pl index 648f4b0..a8ef559 100755 --- a/w2v-server.pl +++ b/w2v-server.pl
@@ -84,6 +84,14 @@ $c->reply->static($url); }; +get '*/css/*' => sub { + my $c = shift; + my $url = $c->req->url; + $url =~ s@/derekovecs/@/@g; + $c->app->log->info("GET: " . $url); + $c->reply->static($url); +}; + sub getClassicCollocatorsCached { my ($c, $word) = @_; if(!$cccache{$word}) {