From cbebcb2f1021580857381269f8449eadbe607615 Mon Sep 17 00:00:00 2001 From: glenda Date: Thu, 14 Jan 2021 19:32:05 +0000 Subject: bug fix --- rfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfs b/rfs index 7476e91..a43a412 100755 --- a/rfs +++ b/rfs @@ -36,6 +36,7 @@ if(~ $mflag yes) if not url=`{echo $fullurl | sed 's/gemini:\/\/[0-9 a-z .]*// s/ //'} +if(~ $url '') url=/ if(test -f $webroot$url){ header 20 text/gemini cat $webroot$url @@ -49,4 +50,3 @@ if(test -f $webroot$url/index.gmi) } header 51 'file not found' - -- cgit 1.4.1-2-gfad0