Updated the webapp external URI calculation code.