AnsweredAssumed Answered

javascript serverside to get server name

Question asked by pierat on Oct 22, 2018
Latest reply on Nov 19, 2018 by pierat

Hi, for a javascript program, I want to differentiate the way the program works in the production environment and in the test environment.


The only difference between the two installation is the server name : vs

So, is there a way to get the server name information from a server-side javascript program ?


Note : if this is impossible, perhap's there's a way to do that using but once more, how to get a property set in this file from a serverside javascript  program ?


Thanks for sharing ideas, Pierre