Enable setting autohold and address validation in web UI
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 41s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m47s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
2024-05-05 00:10:55 +10:00
parent 92f964f572
commit 5389739920
4 changed files with 133 additions and 1 deletions

View File

@@ -59,6 +59,10 @@ Route::middleware(['auth','verified','activeuser'])->group(function () {
Route::match(['get','post'],'user/addedit/{o?}',[UserController::class,'add_edit'])
->where('o','[0-9]+');
/* ADDRESS PATHS */
Route::post('address/api/validated/{state}',[SystemController::class,'api_address_validated_toggle'])
->whereIn('state',['on','off']);
/* DOMAIN PATHS */
Route::view('domain','domain.home');
Route::get('domain/api/hosts/{o}/{region}',[DomainController::class,'api_hosts'])
@@ -82,6 +86,8 @@ Route::middleware(['auth','verified','activeuser'])->group(function () {
Route::view('system','system.home');
Route::post('system/api/address/{o}',[SystemController::class,'api_address'])
->where('o','[0-9]+');
Route::post('system/api/autohold/{state}',[SystemController::class,'api_autohold_toggle'])
->whereIn('state',['on','off']);
Route::get('system/api/address/get/{o}',[SystemController::class,'api_address_get'])
->where('o','[0-9]+');
Route::get('system/api/address/orphan',[SystemController::class,'api_address_orphan']);