From 03dc6d92aeb1371ff80562971a82700c386fac4b Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 11 May 2019 13:10:41 +0200 Subject: [PATCH] Remove hello() --- freqtrade/rpc/api_server.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/freqtrade/rpc/api_server.py b/freqtrade/rpc/api_server.py index 18c68e797..5b7da902d 100644 --- a/freqtrade/rpc/api_server.py +++ b/freqtrade/rpc/api_server.py @@ -90,7 +90,6 @@ class ApiServer(RPC): :return: """ self.app.register_error_handler(404, self.page_not_found) - self.app.add_url_rule('/', 'hello', view_func=self.hello, methods=['GET']) def register_rest_rpc_urls(self): """ @@ -161,24 +160,6 @@ class ApiServer(RPC): 'code': 404 }), 404 - def hello(self): - """ - None critical but helpful default index page. - - That lists URLs added to the flask server. - This may be deprecated at any time. - :return: index.html - """ - rest_cmds = ('Commands implemented:
' - 'Show 7 days of stats
' - 'Stop the Trade thread
' - 'Start the Traded thread
' - 'Show profit summary
' - 'Show status table - Open trades
' - ' 404 page does not exist
' - ) - return rest_cmds - def _start(self): """ Handler for /start.