26 lines
777 B
PHP
26 lines
777 B
PHP
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Web Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
| NOTE: All admin functionality has been migrated to REST API
|
|
| See routes/api.php for API endpoints
|
|
|
|
|
*/
|
|
|
|
// Public API routes for client (already defined in routes/client.php)
|
|
// See routes/api.php for admin API endpoints
|
|
|
|
Route::any('{any}', function () {
|
|
return response()->json([
|
|
'error' => true,
|
|
'message' => 'Route not found'
|
|
], 404);
|
|
})->where('any', '.*');
|