diff --git a/src/Mjml/BinaryRenderer.php b/src/Mjml/BinaryRenderer.php index 85f3afc..8f4b72e 100644 --- a/src/Mjml/BinaryRenderer.php +++ b/src/Mjml/BinaryRenderer.php @@ -14,6 +14,6 @@ public function __construct() public function getMjmlBinaryPath(): string { - return config(EscolaLmsTemplatesEmailServiceProvider::CONFIG_KEY . '.mjml.binary_path', base_path('node_modules/.bin/mjml')); + return config(EscolaLmsTemplatesEmailServiceProvider::CONFIG_KEY . '.mjml.binary_path', base_path('node_modules/.bin/mjml')) ?? base_path('node_modules/.bin/mjml'); } }