diff --git a/src/Console/InstallsInertiaStacks.php b/src/Console/InstallsInertiaStacks.php index 34a27536d..b8b21de25 100644 --- a/src/Console/InstallsInertiaStacks.php +++ b/src/Console/InstallsInertiaStacks.php @@ -110,7 +110,7 @@ protected function installInertiaVueSsrStack() $this->replaceInFile("'enabled' => false", "'enabled' => true", config_path('inertia.php')); $this->replaceInFile('vite build', 'vite build && vite build --ssr', base_path('package.json')); - $this->replaceInFile('/storage/*.key', '/storage/ssr'.PHP_EOL.'/storage/*.key', base_path('.gitignore')); + $this->replaceInFile('/node_modules', '/bootstrap/ssr'.PHP_EOL.'/node_modules', base_path('.gitignore')); } /** @@ -224,6 +224,6 @@ protected function installInertiaReactSsrStack() $this->replaceInFile("'enabled' => false", "'enabled' => true", config_path('inertia.php')); $this->replaceInFile('vite build', 'vite build && vite build --ssr', base_path('package.json')); - $this->replaceInFile('/storage/*.key', '/storage/ssr'.PHP_EOL.'/storage/*.key', base_path('.gitignore')); + $this->replaceInFile('/node_modules', '/bootstrap/ssr'.PHP_EOL.'/node_modules', base_path('.gitignore')); } }