Why hot code push is not working

I have a simple meteor application with the main file index.html and the html index.html

I have deployed the app on digitalocean. When i change the code, the web application can automatically reload but the android app does not pick the changes.

I am using Nginx on ubuntu. When my usual meteor app is running at http://localhost:3000/ i can access the app via https://domain.com

This is is how i set up my root url

Meteor.startup( function() {
process.env.ROOT_URL = ‘https://domain.com’;
});

and this is how i built my apk

meteor build ~/logh --server https://domain.com

When i run this code to get the root url when my android app starts

alert(JSON.stringify(process.env.ROOT_URL));

i get "https://domain.com"

What could i be doing wrong?.