Skip to content

Commit

Permalink
server update
Browse files Browse the repository at this point in the history
  • Loading branch information
davidan1989 committed Aug 8, 2023
1 parent 26bf252 commit e09a5c2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions npm-package/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ app.use(
)

// connect to express port
// app
// .listen(PORT, (): void => {
// console.log('NextInspect express npm package running on on port:' + PORT)
// })
// .on('error', function (err) {
// //the listener is set up to listen for error events (ie. port already in use or inaccessible), callback function will execute
// console.log('error: ', err)
// })
app
.listen(PORT, (): void => {
console.log('NextInspect express npm package running on on port:' + PORT)
})
.on('error', function (err) {
//the listener is set up to listen for error events (ie. port already in use or inaccessible), callback function will execute
console.log('error: ', err)
})
export default app

0 comments on commit e09a5c2

Please sign in to comment.