Retrieve Hostname -> SDK



What would be the best approach for retrieving $C9_HOSTNAME from within a plugin?

I found this api ->!/api/c9

However that doesn’t seem to provide that information.


c9.hostname works but is not documented.
It is undefined in standalone mode, similar to $C9_HOSTNAME


Ah ok. TYVM I’ll give that a shot :smile: