got md ok
This commit is contained in:
BIN
exec-simpleserve
BIN
exec-simpleserve
Binary file not shown.
@@ -28,6 +28,7 @@ func SetContentTypeIfMedia(w http.ResponseWriter, r *http.Request) {
|
|||||||
v = "image/jpeg"
|
v = "image/jpeg"
|
||||||
case ".md":
|
case ".md":
|
||||||
v = "text/markdown"
|
v = "text/markdown"
|
||||||
|
v = "text/html"
|
||||||
case ".gif":
|
case ".gif":
|
||||||
v = "image/gif"
|
v = "image/gif"
|
||||||
case ".png":
|
case ".png":
|
||||||
|
|||||||
Reference in New Issue
Block a user