diff --git a/main.js b/main.js index 3413bc5..4cee0b7 100644 --- a/main.js +++ b/main.js @@ -116,6 +116,7 @@ function addRoutes(_router) { // test route to make sure everything is working (accessed at GET http://localhost:9090/api) _router.get('/', function (req, res) { res.json({message: 'Welcome to our JSON REST api!'}); + adapter.setState('testVariable', {val: true, ack: true, expire: 30}); }); _router.get('/plain/', function(req, res) {