Welcome Guest, Not a member yet? Register   Sign In
redirect question
#3

(10-11-2021, 03:13 AM)paulkd Wrote: Hi,

Can someone tell me why this is redirecting to localhost rather than the domain it is being executed on Huh

Code:
return redirect()->to('/admin/login');

You sure you don’t have “localhost” in app.baseURL in your .env file?
Reply


Messages In This Thread
redirect question - by paulkd - 10-11-2021, 03:13 AM
RE: redirect question - by paliz - 10-11-2021, 09:18 AM
RE: redirect question - by includebeer - 10-12-2021, 04:00 PM
SOLVED: redirect question - by paulkd - 10-12-2021, 11:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB