aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/handler.go b/handler.go
index 9f258ec..75a8d2b 100644
--- a/handler.go
+++ b/handler.go
@@ -53,7 +53,7 @@ func (h Handler) getFilePath(rawURL string) (string, error) {
return itemPath, nil
}
- indexPath := filepath.Join(itemPath, "index.gemi")
+ indexPath := filepath.Join(itemPath, "index.gmi")
if h.isFile(indexPath) {
return indexPath, nil
}