Skip to content

Commit df7bfdf

Browse files
authored
[Authenticator] oops
1 parent 4f39ebe commit df7bfdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Authenticator/routes/callback.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ router.get('/', async function(req, res) {
1010

1111
await docRef.update({ auth_code: req.query.code });
1212

13-
res.sendFile(__dirname + '/views/success.html');
13+
res.sendFile(process.cwd() + '/views/success.html');
1414
});
1515

1616
module.exports = router;

0 commit comments

Comments
 (0)