Skip to content

Commit

Permalink
fix: local ip wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
noyobo committed Jul 14, 2016
1 parent 3bee82c commit 3c08cec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
"dependencies": {
"internal-ip": "~1.2.0",
"address": "~1.0.0",
"lodash.isequal": "^4.1.4",
"tiny-lr": "~0.2.1",
"webpack-core": "^0.6.8"
Expand Down Expand Up @@ -59,4 +59,4 @@
"package.json",
"README.md"
]
}
}
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import tinylr from 'tiny-lr';
import { getInjectLivereloadContent } from './util';
import InjectScript from './injectScript';

const localIP = require('internal-ip')();
const localIP = require('address').ip();

let lrOpts = {
port: 35729,
Expand Down

0 comments on commit 3c08cec

Please sign in to comment.