mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Final things.
This commit is contained in:
		| @@ -54,7 +54,7 @@ class RouteServiceProvider extends ServiceProvider | ||||
|     public function map(): void | ||||
|     { | ||||
|         $this->mapApiRoutes(); | ||||
|  | ||||
|         $this->mapCronApiRoutes(); | ||||
|         $this->mapWebRoutes(); | ||||
|     } | ||||
|  | ||||
| @@ -71,6 +71,19 @@ class RouteServiceProvider extends ServiceProvider | ||||
|              ->group(base_path('routes/api.php')); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Define the "api" routes for the application. | ||||
|      * | ||||
|      * These routes are typically stateless. | ||||
|      */ | ||||
|     protected function mapCronApiRoutes(): void | ||||
|     { | ||||
|         Route::prefix('api/v1/cron') | ||||
|              ->middleware('apiY') | ||||
|              ->namespace($this->namespace) | ||||
|              ->group(base_path('routes/api-noauth.php')); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Define the "web" routes for the application. | ||||
|      * | ||||
|   | ||||
		Reference in New Issue
	
	Block a user