提交 c95c39e0 作者: Steven Allen

fix(gateway): serve the index with serveFile

上级 be878626
......@@ -275,7 +275,7 @@ func (i *gatewayHandler) getOrHeadHandler(w http.ResponseWriter, r *http.Request
}
// write to request
http.ServeContent(w, r, "index.html", modtime, f)
i.serveFile(w, r, "index.html", modtime, f)
return
case resolver.ErrNoLink:
// no index.html; noop
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论