Skip to content

Commit

Permalink
set version 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Jun 24, 2024
1 parent cff238e commit 0b7fbb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-moleculer-web",
"version": "1.1.0",
"version": "1.1.1",
"description": "Fast web app service for moleculer.js + uWebSockets.js",
"main": "src/index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/request-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class RequestData {
this.ip = Buffer.from(res.getRemoteAddressAsText()).toString();
this.ipProxy = Buffer.from(res.getProxiedRemoteAddressAsText()).toString();
this.queryRaw = req.getQuery() ?? '';
this.query = qs.parse(`?${this.queryRaw}`) ?? {};
this.query = qs.parse(`${this.queryRaw}`) ?? {};
this.referer = req.getHeader('referer') ?? '';
this.url = req.getUrl();
this.userAgent = req.getHeader('user-agent') ?? '';
Expand Down

0 comments on commit 0b7fbb8

Please sign in to comment.