Skip to content

Commit 8310aa8

Browse files
committed
Fix step 2 TTL
1 parent affad7f commit 8310aa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var jwt = require("jsonwebtoken")
44
var appId = 'I2E_JQ'
55
var keyId = '79AfrA'
66
var keySecret = 'sw2y9zarxwl0Lw5a'
7-
var ttlSeconds = 60
7+
var ttlSeconds = 3600
88

99
var jwtPayload =
1010
{
@@ -35,4 +35,4 @@ app.get('/auth', function (req, res) {
3535
});
3636
app.listen(3000, function () {
3737
console.log('Web server listening on port 3000');
38-
});
38+
});

0 commit comments

Comments
 (0)