dyerc / craft-flux

Craft CMS plugin which integrates with AWS Lambda and CloudFront to process, cache and serve images
https://cdyer.co.uk/plugins/flux
Other
4 stars 2 forks source link

Fix settings validation when using environment variables #4

Closed markdrzy closed 1 year ago

markdrzy commented 1 year ago

Settings validation fails for AWS Resource Prefix (awsResourcePrefix) and S3 Root Prefix (rootPrefix) when using environment variables. Per Craft Documentation using the behaviors method will allow the plugin to pre-parse the value of the environment variable for use in validating the setting.