Skip to content

Commit

Permalink
content type
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Dec 23, 2023
1 parent a12368e commit f676d28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ app.use((req, res, _next) => {
proxy_router.load(app);

app.get('/', (req, res) => {
res.header('Content-Type', 'text/html');
res.end(fs.readFileSync('./public/index.html').toString('utf-8'));
})

Expand Down

0 comments on commit f676d28

Please sign in to comment.