]> git.decadent.org.uk Git - dak.git/commitdiff
Make list_paths use the epydoc html for api docs
authorJoerg Jaspert <joerg@debian.org>
Sun, 14 Dec 2014 14:08:49 +0000 (15:08 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 14 Dec 2014 14:08:49 +0000 (15:08 +0100)
dakweb/dakwebserver.py

index 0f70d72b31a0598e6adda2e8a91f5e7586f64dc4..c4f3f58e470617b349b9612bd53d5bcae965ef9b 100755 (executable)
@@ -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)