aboutsummaryrefslogtreecommitdiff
path: root/create_static_list.sh
diff options
context:
space:
mode:
Diffstat (limited to 'create_static_list.sh')
-rwxr-xr-xcreate_static_list.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/create_static_list.sh b/create_static_list.sh
index a618d9f..caf16a1 100755
--- a/create_static_list.sh
+++ b/create_static_list.sh
@@ -20,7 +20,12 @@ cat >&1 <<EOF
</div>
EOF
-echo '<h2>Lists</h2><ul>'
+echo '<h2>application/json</h2>'
+
+echo '<h3>Latest list route</h3><ul>'
+echo '<li><a href="http://z.kaotisk-hund.com:8010/v0/list">/v0/list</a></li>'
+echo '</ul>'
+echo '<h3>Lists</h3><ul>'
find hashes -type f | while read filepath
do
hash_string="$(basename ${filepath})"
@@ -35,7 +40,7 @@ do
done
echo '</ul>'
-echo '<h2>Shows</h2><ul>'
+echo '<h3>Shows</h3><ul>'
find hashes -type f | while read filepath
do
hash_string="$(basename ${filepath})"