From ab49ad92b089ec3f1e58912573b6ea154811020e Mon Sep 17 00:00:00 2001 From: kiriharu Date: Tue, 5 Jan 2021 01:29:29 +0300 Subject: [PATCH] fix slashes --- apps/tgbot/tgbot/handlers/default/icmp.py | 2 +- apps/tgbot/tgbot/handlers/default/tcp.py | 2 +- apps/tgbot/tgbot/handlers/default/web.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/tgbot/tgbot/handlers/default/icmp.py b/apps/tgbot/tgbot/handlers/default/icmp.py index 5f4f0de..2aab4a1 100644 --- a/apps/tgbot/tgbot/handlers/default/icmp.py +++ b/apps/tgbot/tgbot/handlers/default/icmp.py @@ -13,7 +13,7 @@ icmp_help_message = """ class ICMPCheckerHandler(CheckerBaseHandler): help_message = icmp_help_message - api_endpoint = "/icmp" + api_endpoint = "icmp" def __init__(self): super(ICMPCheckerHandler, self).__init__() diff --git a/apps/tgbot/tgbot/handlers/default/tcp.py b/apps/tgbot/tgbot/handlers/default/tcp.py index 6cde827..4769b42 100644 --- a/apps/tgbot/tgbot/handlers/default/tcp.py +++ b/apps/tgbot/tgbot/handlers/default/tcp.py @@ -17,7 +17,7 @@ invalid_port = """❗Неправильный порт. Напишите /tcp ч class TCPCheckerHandler(CheckerBaseHandler): help_message = tcp_help_message - api_endpoint = "/tcp_port" + api_endpoint = "tcp_port" def __init__(self): super().__init__() diff --git a/apps/tgbot/tgbot/handlers/default/web.py b/apps/tgbot/tgbot/handlers/default/web.py index 47c2b39..ec5847f 100644 --- a/apps/tgbot/tgbot/handlers/default/web.py +++ b/apps/tgbot/tgbot/handlers/default/web.py @@ -17,7 +17,7 @@ invalid_port = """❗Неправильный порт. Напишите /web ч class WebCheckerHandler(CheckerBaseHandler): help_message = web_help_message - api_endpoint = "/http" + api_endpoint = "http" def __init__(self): super().__init__()