feat: implement server icon customization with AJAX support

This commit is contained in:
2025-12-06 10:06:09 -05:00
parent ecb037ce04
commit b6987ab1e8
4 changed files with 209 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
// Server icon API (AJAX, not Livewire)
use App\Http\Controllers\ServerIconController;
Route::middleware(['web', 'auth'])->group(function () {
Route::get('/proxmox/server/{server}/icon', [ServerIconController::class, 'show']);
Route::post('/proxmox/server/{server}/icon', [ServerIconController::class, 'update']);
});
<?php
use App\Http\Controllers\SocialLoginController;