Important: This component is not bound on Electron.
Component handling the different hosts the Theia backend should be reachable at.
Hosts should be set through the THEIA_HOSTS environment variable as a comma-separated list of hosts.
THEIA_HOSTS
If you do not set this variable, we'll consider that we don't know where the application is hosted at.
Protected
Readonly
Set of domains that the application is supposed to be reachable at. If the set is empty it means that we don't know where we are hosted. You can check for this with .hasKnownHosts().
.hasKnownHosts()
Do we know where we are hosted?
Important: This component is not bound on Electron.
Component handling the different hosts the Theia backend should be reachable at.
Hosts should be set through the
THEIA_HOSTS
environment variable as a comma-separated list of hosts.If you do not set this variable, we'll consider that we don't know where the application is hosted at.