Fetch downtime calendar on server side

Change-Id: I15fbe6b42489fa233dc0e17c31910e8a06444a3c
diff --git a/script/derekovecs-server b/script/derekovecs-server
index 7525b0d..e8b1c1b 100755
--- a/script/derekovecs-server
+++ b/script/derekovecs-server
@@ -268,6 +268,18 @@
   $self->render(data => cos_similarity_as_json($w1, $w2), format=>'json');
 };
 
+any '*/getDowntimeCalendar' => sub {
+  my $self = shift;
+  my $calendar = getDowntimeCalendar($DOWNTIME_CALENDAR_URL);
+  $self->render(data => $calendar, format=>'text');
+};
+
+any '/getDowntimeCalendar' => sub {
+  my $self = shift;
+  my $calendar = getDowntimeCalendar($DOWNTIME_CALENDAR_URL);
+  $self->render(data => $calendar, format=>'text');
+};
+
 get '*/img/*' => sub {
 	my $c = shift;
 	my $url = $c->req->url;
@@ -364,8 +376,7 @@
       dedupe               => $dedupe,
       marked               => \%marked,
       lists                => \@lists,
-      collocators          => $res->{syntagmatic},
-      downtime_calendar_url => $DOWNTIME_CALENDAR_URL
+      collocators          => $res->{syntagmatic}
     );
   }
 } => "paradigmaticAndSyntagmaticNbs";