fix: move deploy API routes to web group with session auth
This commit is contained in:
@@ -421,6 +421,10 @@ Route::middleware(['access-check', 'dashboard.auth'])->group(function () {
|
|||||||
Route::get('/dashboard/deploy', function () {
|
Route::get('/dashboard/deploy', function () {
|
||||||
return inertia()->render('Dashboard/Deploy/Index');
|
return inertia()->render('Dashboard/Deploy/Index');
|
||||||
})->name('dashboard.deploy');
|
})->name('dashboard.deploy');
|
||||||
|
|
||||||
|
// Deploy API
|
||||||
|
Route::post('/api/deploy', [\App\Containers\Dashboard\UI\API\Controllers\DeployController::class, 'store']);
|
||||||
|
Route::get('/api/deploy/status', [\App\Containers\Dashboard\UI\API\Controllers\DeployController::class, 'status']);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user