`getResourceURL` must return resource without "/" at the end.