remove script path from referer, as you can use dev / prod hosts to simulate envs