From cc20006f3da5d7d578462e9427fcde501856213c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Preu=C3=9F?= Date: Sun, 18 Aug 2024 18:52:36 +0200 Subject: [PATCH] Update config path to cwd --- app/Commands/ServeCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Commands/ServeCommand.php b/app/Commands/ServeCommand.php index c89cc1b..b91f58a 100644 --- a/app/Commands/ServeCommand.php +++ b/app/Commands/ServeCommand.php @@ -92,7 +92,7 @@ class ServeCommand extends Command private function getConfiguration(): array { $this->info('Reading configuration...'); - $yaml = file_get_contents(base_path('print-cli.yml')); + $yaml = file_get_contents(getcwd() . '/print-cli.yml'); return Yaml::parse($yaml); }