I just updated the cdn module and seems the CDN urls formed for pdf (and other) attachments have been updated with the /public/ keyword.
Before:
https://cdn-domain/de/cdn/farfuture/<token_string>/sites/de/files/2022-05/file_name.pdf
where de
is a multisite alias.
After the module upgrade the new path is rendered as
https://cdn-domain/de/cdn/ff/<token_string>/public/2022-05/file_name.pdf
Is there any way to retain the previous urls? i.e, when a new attachment is loaded, the url formed for the media file should be in the form of .../sites/de/files/...
(which was before the module upgrade).
I think this is where all changed in the cdn module – https://www.drupal.org/node/3051642