diff --git a/govue/govue.go b/govue/govue.go index 8eec534..34411c4 100644 --- a/govue/govue.go +++ b/govue/govue.go @@ -198,6 +198,13 @@ func (gv *GoVue) LoadStaticResources(request *http.Request, goExtDataS ...interf } result, err = ioutil.ReadFile(filePath) + + govueDebug := request.URL.Query().Get("govue_debug") + + if govueDebug != "1" { + return + } + if err != nil { result, err = gv.renderErrPage(404, request, goExtDataS...) if gv.CacheSec > 0 {