Skip to content

Commit

Permalink
Update web.php
Browse files Browse the repository at this point in the history
  • Loading branch information
originalaidn committed Oct 18, 2024
1 parent 32a83d8 commit b8dac4f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,11 @@
Route::get('/rcon/{server_id?}', [RconController::class, 'index'])->middleware('superadmin')->name('rcon');
Route::post('/rcon/{server_id}', [RconController::class, 'execute'])->middleware('superadmin')->name('rcon.execute');

Route::resource('vip', VIPController::class);
Route::post('vip/list', 'VIPController@getVIPsList')->name('vip.list');
if(env('VIP') == 'Enabled') {
Route::resource('vip', VIPController::class);
Route::post('vip/list', 'VIPController@getVIPsList')->name('vip.list');
}

use App\Http\Controllers\WeaponSkinController;

Route::get('/weapons/skins', [WeaponSkinController::class, 'index'])->name('weapons.skins.index');
Expand Down

0 comments on commit b8dac4f

Please sign in to comment.