Strips the CDN URL and query params from a URL, eg: https://cdn.sanity.io/images/project/dataset/filename-200x200.jpg?foo=bar → images/project/dataset/filename-200x200.jpg
https://cdn.sanity.io/images/project/dataset/filename-200x200.jpg?foo=bar
images/project/dataset/filename-200x200.jpg
URL to get path name from
The path of a CDN URL
If URL is not a valid Sanity asset URL
Strips the CDN URL and query params from a URL, eg:
https://cdn.sanity.io/images/project/dataset/filename-200x200.jpg?foo=bar
→images/project/dataset/filename-200x200.jpg