allow_mixed_web directive in starter.ini #109
Labels
enhancement
New feature or request
passed-dev-qa
Optional state. Use this when QAing other peoples fixes in another branch.ready to be merged to main
Problems this feature will solve
php artisan serve
too) will not use the ASSET_URL in .env resulting in broken links.Proposed Solution
Add a default directive (on by default) named
allow_mixed_web
that:Forces all web routed urls to use the value set for APP_URL in .env
Constraints and Assumptions
If the directive is turned on then Inject this code snippet into routes/web.php
Alternatives or Workarounds
Configure yourself
Additional context
Warn the user to disable this default only if they know what they are doing.
The text was updated successfully, but these errors were encountered: