logo

gemini-space

What lives at gemini://hacktivis.me/
commit: 0718d2adcaf6623d2eb99814f53fd26ef06e9608
parent 728e4a755a7dcdcc548bd994a4ee998691b1f44d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  4 Nov 2020 09:57:13 +0100

server: Fixup deeper indexes

Diffstat:

Mserver.sh2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server.sh b/server.sh @@ -33,7 +33,7 @@ then status="20" printf '20 text/gemini; charset=utf-8\r\n' printf '# Index of %s\n' "$query" - ls "${path}" | sed -e 's/ /%20/g' -e 's/^/=> /' 2>/dev/null + ls "${path}" | sed -e 's/ /%20/g' -e "s/^/=> /" 2>/dev/null else status="50" printf '50 File not readable or non-existent\r\n'