diff --git a/app/Http/Routes/PassportRoute.php b/app/Http/Routes/PassportRoute.php index a56fb1a9..83c071af 100644 --- a/app/Http/Routes/PassportRoute.php +++ b/app/Http/Routes/PassportRoute.php @@ -11,14 +11,14 @@ class PassportRoute 'prefix' => 'passport' ], function ($router) { // Auth - $router->post('/auth/register', 'Passport\\AuthController@register'); - $router->post('/auth/login', 'Passport\\AuthController@login'); - $router->get('/auth/token2Login', 'Passport\\AuthController@token2Login'); - $router->get('/auth/check', 'Passport\\AuthController@check'); - $router->post('/auth/forget', 'Passport\\AuthController@index'); + $router->post('auth/register', 'Passport\\AuthController@register'); + $router->post('auth/login', 'Passport\\AuthController@login'); + $router->get('auth/token2Login', 'Passport\\AuthController@token2Login'); + $router->get('auth/check', 'Passport\\AuthController@check'); + $router->post('auth/forget', 'Passport\\AuthController@index'); // Comm - $router->get('/comm/config', 'Passport\\CommController@config'); - $router->post('/comm/sendEmailVerify', 'Passport\\CommController@sendEmailVerify'); + $router->get('comm/config', 'Passport\\CommController@config'); + $router->post('comm/sendEmailVerify', 'Passport\\CommController@sendEmailVerify'); }); } }