mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-23 11:14:48 +02:00
e071396fd6
* Adds an option to allows only presets in the URL. If it's enabled, only presets can be used, and all other URL formats are disabled. You can allow it to with an env var. If it's enabled, only presets can be used, and all other URL formats are disabled. You can allow it to with an env var. * Add parsePathPresets function Following DarthSim suggestion, I added a parsePathPresets function and remove the code inside parseURLOptions.