summaryrefslogtreecommitdiff
path: root/contrib/fs/gemini.go
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-04-29 20:56:15 -0600
committertjpcc <tjp@ctrl-c.club>2023-04-29 20:56:15 -0600
commit7a021631cd9e02abe62610f66567f81062cecfbe (patch)
tree78da4793a4f16ad8ecc33c58157aea4f277dbfa1 /contrib/fs/gemini.go
parent3ff04cf88571f8ed1aca78da4efe4929ad583ca6 (diff)
spartan FS server
Diffstat (limited to 'contrib/fs/gemini.go')
-rw-r--r--contrib/fs/gemini.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/fs/gemini.go b/contrib/fs/gemini.go
index 15677f1..21ca32d 100644
--- a/contrib/fs/gemini.go
+++ b/contrib/fs/gemini.go
@@ -37,7 +37,7 @@ func GeminiFileHandler(fileSystem fs.FS) gus.Handler {
//
// When it encounters a directory path which doesn't end in a trailing slash (/) it
// redirects to a URL with the trailing slash appended. This is necessary for relative
-// links inot the directory's contents to function properly.
+// links not the directory's contents to function properly.
//
// It requires that files from the provided fs.FS implement fs.ReadDirFile. If they
// don't, it will produce nil responses for any directory paths.
@@ -70,7 +70,7 @@ func GeminiDirectoryDefault(fileSystem fs.FS, filenames ...string) gus.Handler {
//
// When it encounters a directory path which doesn't end in a trailing slash (/) it
// redirects to a URL with the trailing slash appended. This is necessary for relative
-// links inot the directory's contents to function properly.
+// links not the directory's contents to function properly.
//
// It requires that files from the provided fs.FS implement fs.ReadDirFile. If they
// don't, it will produce "51 Not Found" responses for any directory paths.