|
@@ -150,7 +150,6 @@ func (this *Wrapper) RenderFrontEnd(tname string, data interface{}) {
|
|
|
utils.SystemErrorPageEngine(this.W, err)
|
|
|
return
|
|
|
}
|
|
|
- this.W.WriteHeader(http.StatusOK)
|
|
|
this.W.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
|
|
|
this.W.Header().Set("Content-Type", "text/html; charset=utf-8")
|
|
|
tmpl.Execute(this.W, consts.TmplData{
|
|
@@ -165,7 +164,6 @@ func (this *Wrapper) RenderBackEnd(tcont []byte, data interface{}) {
|
|
|
utils.SystemErrorPageEngine(this.W, err)
|
|
|
return
|
|
|
}
|
|
|
- this.W.WriteHeader(http.StatusOK)
|
|
|
this.W.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
|
|
|
this.W.Header().Set("Content-Type", "text/html; charset=utf-8")
|
|
|
tmpl.Execute(this.W, consts.TmplData{
|