Fix issue with URL prefix when serving requests.