|
...
|
...
|
@@ -79,8 +79,6 @@ class FileManageController extends BaseController |
|
|
|
// Download the file
|
|
|
|
$response = Http::get($fileUrl);
|
|
|
|
if ($response->successful()) {
|
|
|
|
// Save the file locally
|
|
|
|
Storage::put($username, $response->body());
|
|
|
|
$this->response('success');
|
|
|
|
} else {
|
|
|
|
$this->response('error');
|
...
|
...
|
|