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); }