Fixed application not working if hostname contained dashboard
Merge pull request #29 from sirsquidness/master

Fixed application not working if hostname contained dashboard