diff --git a/center/router/router.go b/center/router/router.go index 6ad3f3596..4cdf875e9 100644 --- a/center/router/router.go +++ b/center/router/router.go @@ -114,7 +114,7 @@ func (rt *Router) configNoRoute(r *gin.Engine, fs *http.FileSystem) { suffix := arr[len(arr)-1] switch suffix { - case "png", "jpeg", "jpg", "svg", "ico", "gif", "css", "js", "html", "htm", "gz", "zip", "map", "ttf": + case "png", "jpeg", "jpg", "svg", "ico", "gif", "css", "js", "html", "htm", "gz", "zip", "map", "ttf", "md": if !rt.Center.UseFileAssets { c.FileFromFS(c.Request.URL.Path, *fs) } else {