mirror of
https://github.com/bettercap/bettercap
synced 2025-07-07 05:22:04 -07:00
added missing comma
This commit is contained in:
parent
312f9cd2fe
commit
cfe5f9f76b
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ func NewJSRequest(req *http.Request) *JSRequest {
|
||||||
Client: strings.Split(req.RemoteAddr, ":")[0],
|
Client: strings.Split(req.RemoteAddr, ":")[0],
|
||||||
Method: req.Method,
|
Method: req.Method,
|
||||||
Version: fmt.Sprintf("%d.%d", req.ProtoMajor, req.ProtoMinor),
|
Version: fmt.Sprintf("%d.%d", req.ProtoMajor, req.ProtoMinor),
|
||||||
Scheme: req.URL.Scheme
|
Scheme: req.URL.Scheme,
|
||||||
Hostname: req.Host,
|
Hostname: req.Host,
|
||||||
Path: req.URL.Path,
|
Path: req.URL.Path,
|
||||||
Query: req.URL.RawQuery,
|
Query: req.URL.RawQuery,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue