next-image-export-optimizer icon indicating copy to clipboard operation
next-image-export-optimizer copied to clipboard

upate copy path to correctly handle files that contain the word public

Open jacoblogan opened this issue 11 months ago • 1 comments

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.

jacoblogan avatar Mar 26 '24 22:03 jacoblogan

Thanks for the catch @jacoblogan. I will take a look!

Niels-IO avatar Apr 07 '24 08:04 Niels-IO

@jacoblogan Thanks for the PR. I merged it with a slight edge case handling when public is not found at all

Niels-IO avatar May 25 '24 07:05 Niels-IO