Skip to content

Commit 9b63200

Browse files
Lang folder path
1 parent 6ab372d commit 9b63200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelJsLocalizationServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected function registerLangJsGenerator(): void {
5959
$app = $this->app;
6060

6161
$files = $app['files'];
62-
$langs = $app['path.base'] . '/lang';
62+
$langs = $app->langPath();
6363

6464
$messages = $app['config']->get('localization-js.messages');
6565
return new LangJsGenerator($files, $langs, $messages);

0 commit comments

Comments
 (0)