Laravel 5.4 未找到请求的 URL
Laravel 5.4 not found the requested URL
我已经托管了我的 Laravel 5.4 网站,一切正常,但是当我尝试重设密码时,我在实时服务器上收到此错误:
Not Found
The requested URL /password/reset/daf4775f9259b5462a0a6d79d6777884b46a90a76f71be5db773a37967f712c2 was not found on this server.
Apache/2.4.27 (Win64) PHP/7.1.9 Server at localhost Port 80
返回的URL与我的域名不匹配:
http://localhost/password/reset/daf4775f9259b5462a0a6d79d6777884b46a90a76f71be5db773a37967f712c2
如何更改返回的 URL 以匹配我的域名?
我找到了解决方案,这是因为我没有在 .env 文件
中更改我的站点 url
我已经托管了我的 Laravel 5.4 网站,一切正常,但是当我尝试重设密码时,我在实时服务器上收到此错误:
Not Found
The requested URL /password/reset/daf4775f9259b5462a0a6d79d6777884b46a90a76f71be5db773a37967f712c2 was not found on this server. Apache/2.4.27 (Win64) PHP/7.1.9 Server at localhost Port 80
返回的URL与我的域名不匹配:
http://localhost/password/reset/daf4775f9259b5462a0a6d79d6777884b46a90a76f71be5db773a37967f712c2
如何更改返回的 URL 以匹配我的域名?
我找到了解决方案,这是因为我没有在 .env 文件
中更改我的站点 url