summaryrefslogtreecommitdiff
path: root/contrib/fs/gopher.go
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/fs/gopher.go')
-rw-r--r--contrib/fs/gopher.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/fs/gopher.go b/contrib/fs/gopher.go
index e7e4ab9..dc5b312 100644
--- a/contrib/fs/gopher.go
+++ b/contrib/fs/gopher.go
@@ -133,6 +133,8 @@ i {{ $hostname }} {{ $port }}
func GuessGopherItemType(filepath string) sr.Status {
ext := path.Ext(filepath)
switch ext {
+ case "gophermap":
+ return gopher.MenuType
case "txt", "gmi":
return gopher.TextFileType
case "gif", "png", "jpg", "jpeg":