Change to subdomain routing

This commit is contained in:
R
2022-09-17 01:09:01 +07:00
parent 0ea1c2dea4
commit 9fffde25b0
2 changed files with 21 additions and 20 deletions

View File

@@ -61,8 +61,7 @@ class RouteServiceProvider extends ServiceProvider
*/
protected function mapApiRoutes()
{
Route::prefix('api')
->middleware('api')
Route::middleware('api')
->namespace($this->moduleNamespace)
->group(module_path('Linksehat', '/Routes/api.php'));
}