且构网

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

在Laravel JetStream中添加路由前缀

更新时间:2023-02-22 14:14:37

有一个简单的解决方案,但未记录.您只需要转到您的fortify.php配置文件并添加路径.像:

there is a simple solution but its undocumented. you just have to go to your fortify.php config file and add a path. like:

return [
    .
    .
    .
    'path' => 'api',
    // rest of your config
];