next-image-export-optimizer
next-image-export-optimizer copied to clipboard
upate copy path to correctly handle files that contain the word public
The copy function isn't working with filenames or paths that contain the word public.
Instead of just taking the part of the path found after the last instance of the word public
this change will take everything after the first instance found.
Thanks for the catch @jacoblogan. I will take a look!
@jacoblogan Thanks for the PR. I merged it with a slight edge case handling when public is not found at all