From 4a4ada05f05875e9b420ba211caf44dd92849ad7 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 14 Dec 2014 15:08:49 +0100 Subject: [PATCH] Make list_paths use the epydoc html for api docs --- dakweb/dakwebserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dakweb/dakwebserver.py b/dakweb/dakwebserver.py index 0f70d72b..c4f3f58e 100755 --- a/dakweb/dakwebserver.py +++ b/dakweb/dakwebserver.py @@ -26,7 +26,7 @@ QueryRegister().register_path('/', root_path) @bottle.route('/list_paths') def list_paths(): """Returns a list of available paths""" - return json.dumps(QueryRegister().get_paths()) + redirect("https://ftp-master.debian.org/epydoc/toc-dakweb-module.html") QueryRegister().register_path('/list_paths', list_paths) -- 2.39.5