Skip to content

Instantly share code, notes, and snippets.

@mclhrn
Created March 2, 2017 10:48
Show Gist options
  • Save mclhrn/dc5321a01923848d754f5cf75962da61 to your computer and use it in GitHub Desktop.
Save mclhrn/dc5321a01923848d754f5cf75962da61 to your computer and use it in GitHub Desktop.
app.use('/box/srv/1.1/app/init', function (req, res) {
res.json(
{
"init": {
"trackId": "<GET_THIS_FROM_FHINIT>"
},
"status": "ok",
"apptitle": "<TITLE>",
"domain": "bnp",
"firstTime": true,
"hosts": {
"type": "cloud_nodejs",
"url": "<LOCAL_CLOUD_IP>:8001",
"environment": "dev"
}
}
);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment