Fixed assets not generating correct URL if a port exists.