mercredi 6 mai 2015

Redirect in nodejs not opening playstore

Hi when I fire a url from mobile its opening the playstore URL in browser itself its not opening in playstore

my node code goes like this.

//controller.js
exports.app = function (rq, rs){
    rs.redirect('http://ift.tt/1Ifudlc');
}

//app.js
app.get('/app', controller.app);

so when I fire url fiverating.com/app form browser it opens in the same browser, should I add some other values in response before redirecting

Aucun commentaire:

Enregistrer un commentaire