diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-09-23 13:18:41 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-09-23 13:18:41 -0600 |
commit | 73dfeb428a2f1ca2d35ddbaf89bd5fd3f0d85145 (patch) | |
tree | 31176fbfeead4660880779132003ff6e9d711906 /gopher | |
parent | efd97622985f1131889d4561f8a3ba0b061e896e (diff) |
recognize .gph as gophermap
Diffstat (limited to 'gopher')
-rw-r--r-- | gopher/response.go | 2 |
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 |