Additional Information

Regenerating wrangler.toml and the preset table

config/cfimage.php is the single source of truth for the URL path prefix, presets, disks, and Worker deploy settings — bucket names come from config/filesystems.php, so nothing bucket-related needs duplicating by hand. Never hand-edit wrangler.toml or src/presets.generated.js in the published workers/cfimage/ directory — both are fully overwritten any time you change config/cfimage.php and re-run:

php artisan cfimage:publish            # regenerate only
php artisan cfimage:publish --deploy   # regenerate + wrangler deploy

Previous

Process

Next

URL shape