Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //File: app\Providers\RouterServiceProvider.php
- // Removing prefix line | removendo a linha de prefixo
- //Mudar | Change
- protected function mapApiRoutes()
- {
- Route::prefix('api')
- ->middleware('api')
- ->namespace($this->namespace)
- ->group(base_path('routes/api.php'));
- }
- // para | to
- protected function mapApiRoutes()
- {
- Route::middleware('api')
- ->namespace($this->namespace)
- ->group(base_path('routes/api.php'));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement