fix: update Proxmox server tag routes to use API prefix
This commit is contained in:
@@ -16,12 +16,12 @@ use App\Livewire\Tickets;
|
||||
use Illuminate\Foundation\Auth\EmailVerificationRequest;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
// Server icon API (AJAX, not Livewire)
|
||||
// Server icon/tag API (AJAX, not Livewire)
|
||||
Route::middleware(['web', 'auth'])->group(function () {
|
||||
Route::get('/proxmox/server/{server}/icon', [ServerIconController::class, 'show']);
|
||||
Route::post('/proxmox/server/{server}/icon', [ServerIconController::class, 'update']);
|
||||
Route::get('/proxmox/server/{server}/tags', [ServerTagController::class, 'show']);
|
||||
Route::post('/proxmox/server/{server}/tags', [ServerTagController::class, 'update']);
|
||||
Route::get('/api/proxmox/tags/{server}', [ServerTagController::class, 'show']);
|
||||
Route::post('/api/proxmox/tags/{server}', [ServerTagController::class, 'update']);
|
||||
Route::get('/proxmox/tags/colors', [ServerTagController::class, 'colors']);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user