Yuriy Zhilovets 7 жил өмнө
parent
commit
287c9ea61e
1 өөрчлөгдсөн 5 нэмэгдсэн , 0 устгасан
  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;