Strips the CDN URL, path and query params from a URL, eg:
https://cdn.sanity.io/images/project/dataset/filename-200x200.jpg?foo=bar →
filename-200x200.jpg
Parameters
url: string
URL to get filename from
Returns string
The filename of an URL, if URL matches the CDN URL
Strips the CDN URL, path and query params from a URL, eg:
https://cdn.sanity.io/images/project/dataset/filename-200x200.jpg?foo=bar
→filename-200x200.jpg