Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple API routes doesn't work #12

Open
cinerosimo opened this issue Dec 13, 2019 · 0 comments
Open

Multiple API routes doesn't work #12

cinerosimo opened this issue Dec 13, 2019 · 0 comments

Comments

@cinerosimo
Copy link

It doesn't work on Multiple API Routes. It will only run if I comment all other Route prefix on RouteServiceProvider.php

    protected function mapApiRoutes()
    {
        Route::prefix('api')
             ->middleware('api')
             ->namespace($this->namespace)
             ->group(base_path('routes/api.php'));


//        Route::prefix('api/v1/cms')
//            ->middleware('api')
//            ->namespace($this->namespace)
//            ->group(base_path('routes/cms.php'));
//
//        Route::prefix('api/v1/mobile')
//            ->middleware('api')
//            ->namespace($this->namespace)
//            ->group(base_path('routes/mobile.php'));
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant