Skip to content

Conversation

anoshiri
Copy link

@anoshiri anoshiri commented Aug 5, 2022

"php": "^8.0.2",
"laravel/framework": "^9.2",

return redirect($url);
****This does not redirect to an external URL

return redirect()->to($url)->send();
This works

public function redirectNow()
{
return redirect($this->url);
//return redirect($this->url);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can rid of this commented line entirely @anoshiri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants