Fixing the resolution of resources in the public dir