Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Tzahi12345 committed Nov 29, 2023
2 parents 2cc2428 + 80e83ba commit 2396c86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2159,6 +2159,8 @@ app.use(function(req, res, next) {

let index_path = path.join(__dirname, 'public', 'index.html');

res.setHeader('Content-Type', 'text/html');

fs.createReadStream(index_path).pipe(res);

});
Expand Down

0 comments on commit 2396c86

Please sign in to comment.