清理无效依赖

This commit is contained in:
dragon
2025-11-21 16:14:06 +08:00
parent 309dd52dab
commit 01500f0101
5 changed files with 19 additions and 60 deletions

View File

@@ -34,7 +34,7 @@ func RequestInject(ctx core.FilterContext, jsCtx *goja.Runtime, req *http.Reques
}
return jsCtx.GlobalObject().Set("request", map[string]any{
"method": req.Method,
"url": url,
"url": url.String(),
"rawPath": req.URL.Path,
"host": req.Host,
"remoteAddr": req.RemoteAddr,