且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Laravel Passport 404

更新时间:2023-12-04 10:31:16

侧通道通信(IRC)显示Laravel安装在子路径(http://192.168.3.80/myapp/public/)中,并且这些URL假定该应用程序位于根目录中.

Side-channel communication (IRC) showed that Laravel was installed in a subpath (http://192.168.3.80/myapp/public/), and the urls assume that the application is in the root.

解决方案是更改您的Web服务器配置,并将根(nginx)或DocumentRoot(apache)设置为Laravel的公用文件夹.

The solution is to change your webserver configuration and set the root (nginx) or DocumentRoot (apache) to Laravel's public folder.