Update the asset middleware to remove /id from the beginning of requests.