summaryrefslogtreecommitdiff
path: root/contrib/fs/gemini.go
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/fs/gemini.go')
-rw-r--r--contrib/fs/gemini.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fs/gemini.go b/contrib/fs/gemini.go
index b41cb75..4193493 100644
--- a/contrib/fs/gemini.go
+++ b/contrib/fs/gemini.go
@@ -123,7 +123,7 @@ func handleDirGemini(request *gus.Request, fileSystem fs.FS) (string, fs.ReadDir
_ = dir.Close()
url := *request.URL
url.Path += "/"
- return "", nil, gemini.Redirect(url.String())
+ return "", nil, gemini.PermanentRedirect(url.String())
}
return path, dir, nil