use Math.round(reduce) in image call
[bookreader.git] / plack / bookreader.psgi
index f8b4371..0231dcb 100644 (file)
@@ -25,8 +25,13 @@ builder {
        mount '/BookReader' =>
                Plack::App::Directory->new({ root => "../BookReader" })->to_app;
 
+       mount '/cache/' =>
+               Plack::App::BookReader->new({ root => "cache" })->to_app;
+
+       # resouces
+
        mount '/dk.nsk.hr' =>
-               Plack::App::BookReader->new({ root => "/home/dpavlin/dk.nsk.hr" })->to_app;
+               Plack::App::BookReader->new({ root => "/srv/dk.nsk.hr" })->to_app;
 
        mount '/share' =>
                Plack::App::BookReader->new({ root => "/mnt/share" })->to_app;