cancel
Showing results for 
Search instead for 
Did you mean: 

host name in javascript or template

mmynsberghe
Champ on-the-rise
Champ on-the-rise
Hi,

is it possible to get the host name with a javascript or a freemarker template?

kind Regards,
Mieke
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
url.server
should do it. Or
headers["Host"]

Thanks,
Mike

mmynsberghe
Champ on-the-rise
Champ on-the-rise
Many thanks for the quick reply!