From 8b312e0ecd6dcadec013542b484e5898e020b1b7 Mon Sep 17 00:00:00 2001 From: F4ilji Date: Thu, 2 Jul 2026 17:01:32 +0500 Subject: [PATCH] fix: move deploy API routes to web group with session auth --- app/Containers/Dashboard/UI/WEB/Routes/web.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Containers/Dashboard/UI/WEB/Routes/web.php b/app/Containers/Dashboard/UI/WEB/Routes/web.php index f5683bc..ea47717 100755 --- a/app/Containers/Dashboard/UI/WEB/Routes/web.php +++ b/app/Containers/Dashboard/UI/WEB/Routes/web.php @@ -421,6 +421,10 @@ Route::middleware(['access-check', 'dashboard.auth'])->group(function () { Route::get('/dashboard/deploy', function () { return inertia()->render('Dashboard/Deploy/Index'); })->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']); });