diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index 41046842..a20f2636 100755 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -179,6 +179,6 @@ public function writeToCsv(Request $request) $data = $request->only(['city', 'country', 'ip', 'keyword', 'loc', 'timezone']); //TODO: if any data is null, fill up, default keyword to "" - Storage::disk('local')->append('keywords.txt', json_encode($data), "," . PHP_EOL); + Storage::disk('public')->append('keywords.txt', json_encode($data), "," . PHP_EOL); } }