You should remove this, and put it into app.locals on line 209, because this sets the personaHostname on each request, but it shouldn't change at all during app runtime