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"
|
||||
case ".md":
|
||||
v = "text/markdown"
|
||||
v = "text/html"
|
||||
case ".gif":
|
||||
v = "image/gif"
|
||||
case ".png":
|
||||
|
||||
Reference in New Issue
Block a user