Skip to content

Commit

Permalink
release: v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Nov 25, 2022
1 parent 9ea1455 commit 8b014c2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.7.0 (25 Nov 2022)

* feat: use luna data grid
* feat: show ip in target list
* chore: update chobitsu

## 1.6.2 (18 Aug 2022)

* refactor: use release version of devtools
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chii",
"version": "1.6.2",
"version": "1.7.0",
"description": "Chrome devtools framework",
"main": "./server/index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion server/lib/WebSocketServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = class WebSocketServer {
const { id, chiiUrl, title, favicon } = ws;
let ip = req.socket.remoteAddress;
if (req.headers['x-forwarded-for']) {
ip = eq.headers['x-forwarded-for'].split(',')[0].trim();
ip = req.headers['x-forwarded-for'].split(',')[0].trim();
}
this.channelManager.createTarget(id, ws, chiiUrl, title, favicon, ip);
} else {
Expand Down

0 comments on commit 8b014c2

Please sign in to comment.