Fix resources url.