Fake xhr to access local ressources.