diff options
author | Yotam Nachum <me@yotam.net> | 2019-11-23 22:18:28 +0200 |
---|---|---|
committer | Yotam Nachum <me@yotam.net> | 2019-11-23 22:18:28 +0200 |
commit | fbba58af84adf02c09a8f4f00a5573f41ca58fc3 (patch) | |
tree | a0f60fd4a833a8de96bce463298443ba29f96ecd | |
parent | Add a README to explain how to use the server (diff) | |
download | shavit-fbba58af84adf02c09a8f4f00a5573f41ca58fc3.tar.gz shavit-fbba58af84adf02c09a8f4f00a5573f41ca58fc3.zip |
Switch to correct gemini file extension
-rw-r--r-- | handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |