summaryrefslogtreecommitdiff
path: root/gopher
diff options
context:
space:
mode:
Diffstat (limited to 'gopher')
-rw-r--r--gopher/response.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gopher/response.go b/gopher/response.go
index 46f9db0..c594fa7 100644
--- a/gopher/response.go
+++ b/gopher/response.go
@@ -168,7 +168,7 @@ func (rdr *responseReader) ensureReader() {
func GuessItemType(filepath string) types.Status {
ext := path.Ext(filepath)
switch ext {
- case ".gophermap":
+ case ".gophermap", ".gph":
return MenuType
case ".txt", ".gmi", ".md":
return TextFileType