Skip to content
This repository was archived by the owner on Jul 29, 2022. It is now read-only.

Commit a8c00cd

Browse files
committed
Set content type to text on root.
1 parent 3d0030c commit a8c00cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ app.use(passport.initialize())
5151
app.get('/',
5252
passport.authenticate(authenticationStrategy, { session: false }),
5353
(httpReq, httpRes) => {
54+
httpRes.set('Content-Type', 'text/plain')
5455
httpRes.send(new Date() + ': OK')
5556
})
5657

0 commit comments

Comments
 (0)