change the resource url to localhost