ref: bc47538e495dfe311a86f301bfae581767b47898
parent: a2cdff91c941cebc075bd5b4421c6634ee15d247
author: Jacob Moody <moody@posixcafe.org>
date: Fri Mar 12 12:28:10 EST 2021
Handle .gmi as well as .gem
diff -u a/handlers/serve-static b/handlers/serve-static
--- a/handlers/serve-static
+++ b/handlers/serve-static
@@ -13,7 +13,7 @@
}
switch($full_path){
-case *.gem *.gemini
+case *.gem *.gemini *.gmi
type=text/gemini
case *.md
type=text/markdown
--- a/handlers/serve-static
+++ b/handlers/serve-static
@@ -13,7 +13,7 @@
}
switch($full_path){
-case *.gem *.gemini
+case *.gem *.gemini *.gmi
type=text/gemini
case *.md
type=text/markdown