diff options
Diffstat (limited to 'rfs')
-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' - |