Skip to content

Multiple API routes doesn't work #12

@cinerosimo

Description

@cinerosimo

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'));
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions