From 8fcd97edf0b698e2e0d0e820c5efa84c16cca036 Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Sat, 4 Jan 2020 23:29:30 -0500 Subject: [PATCH] fixed helptext html formatting --- chainlink.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chainlink.py b/chainlink.py index c7f43c7..39297e8 100755 --- a/chainlink.py +++ b/chainlink.py @@ -15,16 +15,18 @@ def root(): host = request.get_header('host') helptext = f"""

General format is {host}/<domain>/<action> -

If is blank, it will attempt to use the redirect +

If <action> is blank, it will attempt to use the redirect

You may also/optionally specify an action which can be any of the following + +
raw Show the raw json (formatted as an html table)
html Hit the IPFS hash via cloudflare-ipfs.com
redir Use the redirect parameter and just return a 302 redirect to whatever is set