diff --git a/routes/web.php b/routes/web.php index c507782..634e04b 100644 --- a/routes/web.php +++ b/routes/web.php @@ -59,7 +59,7 @@ function () { /* End 账户区域 */ /* Start 主机 */ - Route::resource('hosts', HostController::class)->only(['index', 'destroy']); + Route::resource('hosts', HostController::class)->only(['index', 'update', 'destroy']); Route::post('hosts/{host}/renew', [HostController::class, 'renew'])->name('hosts.renew'); /* End 主机 */