Jelajahi Sumber

更新内容

moshaorui 4 bulan lalu
induk
melakukan
c45595cb59
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      app/Http/Controllers/HomeController.php

+ 1 - 0
app/Http/Controllers/HomeController.php

@@ -207,6 +207,7 @@ class HomeController extends Controller
     public function downloadImage(Request $request)
     {
         Session::put('downloadAllStatus', '1');
+        return response()->json(['error' => 'Invalid URL'], 400);
         // Get the URL from the request parameter
         $imageUrl = $request->input('url');