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
Hello, thank you for your reply
This issue occurs when attempting to generate an HTTPS link
When the default is route(' home ', [], true,' http ') this situation is normal and can run successfully
When using route('home ', [], true,' https'), it will prompt 'home' as defined
Hi @gitwangliang , the third parameter for route function is not for setting scheme. It's corresponding with the server name in config/server.php, and developers normally don't need to change it.
The scheme in route function will follow the scheme of your current request.
Activity
albertcht commentedon Aug 19, 2025
Please read instructions before you submit an issue.
And this issue doesn't provide any helpful details. Please note that any issues with
not enough infolabel will be ignored and closed after 3 days.gitwangliang commentedon Aug 20, 2025
Hello, thank you for your reply
This issue occurs when attempting to generate an HTTPS link
When the default is route(' home ', [], true,' http ') this situation is normal and can run successfully
When using route('home ', [], true,' https'), it will prompt 'home' as defined
albertcht commentedon Aug 20, 2025
Hi @gitwangliang , the third parameter for
routefunction is not for settingscheme. It's corresponding with the server name inconfig/server.php, and developers normally don't need to change it.The scheme in
routefunction will follow the scheme of your current request.gitwangliang commentedon Aug 21, 2025
@albertcht How to correctly generate HTTPS links when using nginx HTTPS forwarding to hypervel HTTP hypervel
albertcht commentedon Aug 21, 2025
You can only replace the scheme from returned url manually at this moment.