From 7c515a554bb22665e6fd9775bf8c8b2a433c5840 Mon Sep 17 00:00:00 2001 From: Jess Archer Date: Mon, 11 Jul 2022 21:46:36 +1000 Subject: [PATCH] Update SSR directory (#168) --- src/Console/InstallsInertiaStacks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')); } }