middleware(['auth', 'verified'])->name('dashboard'); Route::middleware('auth')->group(function () { Route::get('/profile', [ProfileController::class, 'edit'])->name('profile.edit'); Route::patch('/profile', [ProfileController::class, 'update'])->name('profile.update'); Route::delete('/profile', [ProfileController::class, 'destroy'])->name('profile.destroy'); }); Route::get('/proxy-test', function () { return response()->json([ 'status' => 'success', 'timestamp' => time(), 'unique_id' => uniqid('proxy_test_', true) ]); }); // Free Proxies routes Route::get('/proxies', [ProxyListController::class, 'index'])->name('proxies.index'); // Subscription routes Route::middleware(['auth'])->group(function () { Route::get('/subscriptions', [SubscriptionController::class, 'index'])->name('subscriptions.index'); Route::post('/subscriptions/{subscription}/subscribe', [SubscriptionController::class, 'subscribe'])->name('subscriptions.subscribe'); Route::delete('/subscriptions/{userSubscription}/cancel', [SubscriptionController::class, 'cancel'])->name('subscriptions.cancel'); }); Route::get('/port-scanner', [PortScannerController::class, 'index'])->name('port-scanner.index'); Route::post('/port-scanner/scan', [PortScannerController::class, 'scan'])->name('port-scanner.scan'); // PAC File routes Route::get('/pac-file', function () { return view('pac-file'); })->name('pac.file'); Route::get('/pac-file/generate', [PacFileController::class, 'generate'])->name('pac.generate'); // Proxy Checker routes Route::get('/proxy-checker', [ProxyCheckerController::class, 'index'])->name('proxy-checker.index'); Route::post('/proxy-checker/check', [ProxyCheckerController::class, 'check'])->name('proxy-checker.check'); // IP Geolocation routes Route::get('/ip-lookup', [IPGeolocationController::class, 'index'])->name('ip-geolocation.index'); Route::post('/ip-lookup', [IPGeolocationController::class, 'lookup'])->name('ip-geolocation.lookup'); require __DIR__.'/auth.php';