Browse Source

更新内容

moshaorui 1 month ago
parent
commit
c45595cb59
1 changed files with 1 additions and 0 deletions
  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');