Yuriy Zhilovets 7 anni fa
parent
commit
287c9ea61e
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      telegram.pl

+ 5 - 0
telegram.pl

@@ -76,6 +76,11 @@ hook after_dispatch => sub
 
 ##########################
 
+get "/health" => sub
+{
+  shift->render(text => "Telegram OK");
+}
+
 post "/:token" => sub
 {
   my $c = shift;