Move everything around as needed to get things setup for the client API

This commit is contained in:
Dane Everitt
2018-02-25 15:30:56 -06:00
parent 8daf97021a
commit e28973bcae
17 changed files with 199 additions and 46 deletions

View File

@@ -41,6 +41,10 @@ class RouteServiceProvider extends ServiceProvider
->namespace($this->namespace . '\Api\Application')
->group(base_path('routes/api-application.php'));
Route::middleware(['client-api'])->prefix('/api/client')
->namespace($this->namespace . '\Api\Client')
->group(base_path('routes/api-client.php'));
Route::middleware(['daemon'])->prefix('/api/remote')
->namespace($this->namespace . '\Api\Remote')
->group(base_path('routes/api-remote.php'));