You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.
If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.
Laravel Version
11.16.0
PHP Version
8.3.9
Database Driver & Version
No response
Description
Description:
When using the URL https://abcde-psdfxxx-8000.app.cloudstudio.work/ as the APP_URL, the default framework page generates incorrect URLs. For example, the {{ route('register') }} directive results in the path https://8000.app.cloudstudio.work/register. Similarly, all asset URLs are also generated with this incorrect host header.
Steps To Reproduce
1、Set APP_URL in the .env file to https://abcde-psdfxxx-8000.app.cloudstudio.work/.
2、Start the Laravel development server using php artisan serve.
3、Access the application at https://abcde-psdfxxx-8000.app.cloudstudio.work/.
4、Check the generated URLs for routes and assets on the default framework page.
The text was updated successfully, but these errors were encountered: