name('/'); Route::get('dashboard', function () { return redirect('/'); }); require __DIR__ . '/auth.php'; Route::resource('account', AccountController::class)->middleware(['auth']); Route::resource('dns', DNSController::class)->middleware(['auth']); Route::resource('domains', DomainsController::class)->middleware(['auth']); Route::resource('IPs', IPsController::class)->middleware(['auth']); Route::resource('labels', LabelsController::class)->middleware(['auth']); Route::resource('locations', LocationsController::class)->middleware(['auth']); Route::resource('misc', MiscController::class)->middleware(['auth']); Route::resource('os', OsController::class)->middleware(['auth']); Route::resource('providers', ProvidersController::class)->middleware(['auth']); Route::resource('reseller', ResellerController::class)->middleware(['auth']); Route::get('servers/public', 'App\Http\Controllers\ServerController@showServersPublic')->name('servers/public'); Route::resource('servers', ServerController::class)->middleware(['auth']); Route::resource('settings', SettingsController::class)->middleware(['auth']); Route::resource('seedboxes', SeedBoxesController::class)->middleware(['auth']); Route::resource('shared', SharedController::class)->middleware(['auth']); Route::resource('yabs', YabsController::class)->middleware(['auth']); Route::get('yabs-compare-choose', 'App\Http\Controllers\YabsController@chooseYabsCompare')->middleware(['auth'])->name('yabs.compare-choose'); Route::get('yabs-compare/{yabs1}/{yabs2}', 'App\Http\Controllers\YabsController@compareYabs')->middleware(['auth'])->name('yabs.compare'); Route::get('servers-compare-choose', 'App\Http\Controllers\ServerController@chooseCompare')->middleware(['auth'])->name('servers-compare-choose'); Route::get('servers-compare/{server1}/{server2}', 'App\Http\Controllers\ServerController@compareServers')->middleware(['auth']);