Update config path to cwd

This commit is contained in:
René Preuß
2024-08-18 18:52:36 +02:00
parent 2433ec846c
commit cc20006f3d

View File

@@ -92,7 +92,7 @@ class ServeCommand extends Command
private function getConfiguration(): array private function getConfiguration(): array
{ {
$this->info('Reading configuration...'); $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); return Yaml::parse($yaml);
} }