- vars.put("normalhost", "https://" + ServerConstants.getWwwHostNamePortSecure());
- vars.put("securehost", "https://" + ServerConstants.getSecureHostNamePortSecure());
- vars.put("statichost", "https://" + ServerConstants.getStaticHostNamePortSecure());
+ vars.put("normalhost", "https://" + ServerConstants.getHostNamePortSecure(Host.WWW));
+ vars.put("securehost", "https://" + ServerConstants.getHostNamePortSecure(Host.SECURE));
+ vars.put("statichost", "https://" + ServerConstants.getHostNamePortSecure(Host.STATIC));