|
@@ -222,11 +222,6 @@ class HomeController extends Controller
|
|
|
// Get the URL from the request parameter
|
|
|
$imageUrl = $request->input('url');
|
|
|
|
|
|
- // Validate the URL
|
|
|
- if (filter_var($imageUrl, FILTER_VALIDATE_URL) === false) {
|
|
|
- Session::put('downloadAllStatus', '2');
|
|
|
- return response()->json(['error' => 'Invalid URL'], 400);
|
|
|
- }
|
|
|
|
|
|
try {
|
|
|
// Initialize cURL
|