Skip to content

Commit

Permalink
Merge pull request #1 from ZweiZhao/master
Browse files Browse the repository at this point in the history
pull newest
  • Loading branch information
Damon0820 authored Nov 17, 2018
2 parents 6053b8c + b0bae6f commit 161e4b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

`npm run start` or `yarn start`

then
## open

browser open [http://localhost:8000/](http://localhost:8000/)
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"scripts": {
"start": "node tb.try.js"
},
"dependencies": {
"cheerio": "^1.0.0-rc.2",
"express": "^4.16.4",
Expand Down
2 changes: 1 addition & 1 deletion tb.try.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,5 @@ app.post('/table', async (req, res, next) => {

const hostInfo = require('./hostInfo')
app.listen(hostInfo.port, hostInfo.host, function() {
console.log(hostInfo.host + ':' + hostInfo.port)
console.log('please open: http://' + hostInfo.host + ':' + hostInfo.port)
})

0 comments on commit 161e4b7

Please sign in to comment.