Hi, i’m using some setups explained in this file to setup the development environment for web servers, web apps and so (like angular 2 spa’s):
Setting up your development environment By luchillo17
But what about Ionic 2 apps? we can’t rely on Env variables in the servers, which most likely will be one pc, your pc.
Also we can’t rely on the host of the web spa, as ionic variables run in it’s own browser, i think if we ask the ionic browser for the host it most likely will return