Skip to content

Commit

Permalink
Updated the index.js file to point to the right path of index.html file
Browse files Browse the repository at this point in the history
  • Loading branch information
SudKul committed Feb 25, 2020
1 parent fb7af24 commit 03b1d70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/evaluate-news-nlp/src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ app.use(express.static('dist'))
console.log(__dirname)

app.get('/', function (req, res) {
res.sendFile('dist/index.html')
// res.sendFile('dist/index.html')
res.sendFile(path.resolve('src/client/views/index.html'))
})

// designates what port the app will listen to for incoming requests
Expand Down

0 comments on commit 03b1d70

Please sign in to comment.