diff --git a/src/Http/Controller/BuildController.php b/src/Http/Controller/BuildController.php index 87a100b..79aa518 100644 --- a/src/Http/Controller/BuildController.php +++ b/src/Http/Controller/BuildController.php @@ -23,7 +23,7 @@ class BuildController extends Controller public function build() { - $buildLogFile = storage_path("build.log"); + $buildLogFile = storage_path("lucent/build.log"); if(file_exists($buildLogFile)){ unlink($buildLogFile); } @@ -49,7 +49,7 @@ class BuildController extends Controller while (true) { sleep(1); // 50ms $data["date"] = date("Y-m-d H:i:s"); - $data["logs"] = file_get_contents(storage_path("build.log")); + $data["logs"] = file_get_contents(storage_path("lucent/build.log")); $lines = explode("\n",$data["logs"]); echo 'data: ' .json_encode($data);