Your ROOT_URL in app.ini is http://159.89.207.79:3000/ but you are visiting http://9.cron.my.id:3000/mahesh/laravel-backpack/blame/commit/d4f93f46b4b124001bc31dea36903a13d0ab8be5/routes/backpack/custom.php You should set ROOT_URL correctly, otherwise the web may not work correctly.

21 lines
754 B

2 years ago
<?php
use Illuminate\Support\Facades\Route;
// --------------------------
// Custom Backpack Routes
// --------------------------
// This route file is loaded automatically by Backpack\Base.
// Routes you generate using Backpack\Generators will be placed here.
Route::group([
'prefix' => config('backpack.base.route_prefix', 'admin'),
'middleware' => array_merge(
(array) config('backpack.base.web_middleware', 'web'),
(array) config('backpack.base.middleware_key', 'admin')
),
'namespace' => 'App\Http\Controllers\Admin',
], function () { // custom admin routes
Route::crud('user', 'UserCrudController');
Route::crud('menu', 'MenuCrudController');
}); // this should be the absolute last line of this file