Fixed global variable for app hostname.