[SOLVED] Is --server param only used for the mobile apps?

Hi as per https://guide.meteor.com/mobile.html#building-for-production

meteor build <build-output-directory> --server <host>:<port>

How is that param used? I am trying to automate a build process for a cloud service where the user can set the domain name… so I wanted to understand when the impact is of building without that param is, please?

I don’t need mobile as this is only for the server builds.

Ie can I just set ROOT_URL environment variable and all should be OK?

thanks

Yes. the --server flag is only used for Android/iOS applications. The mobile application will need to know the --server value to know where the Meteor server is.

Thanks @ashhimself much appeciated