diff options
author | glenda <glenda@9front.local> | 2021-01-14 19:32:05 +0000 |
---|---|---|
committer | glenda <glenda@9front.local> | 2021-01-14 19:32:05 +0000 |
commit | cbebcb2f1021580857381269f8449eadbe607615 (patch) | |
tree | c3d8ed9a1e3ece40fba30f8d0508219468152758 | |
parent | aacb3e890b1e719c15564b1272472a3c091da130 (diff) | |
download | g9srv-cbebcb2f1021580857381269f8449eadbe607615.tar.gz |
bug fix
-rwxr-xr-x | rfs | 2 |
1 files changed, 1 insertions, 1 deletions
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' - |