Skip to content

Commit fe441a9

Browse files
committed
fix: remove public assets from api starter
1 parent d8071bc commit fe441a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CreateCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ protected function handle(): int
153153

154154
\Leaf\FS\Directory::delete("$directory/app/views", ['recursive' => true]);
155155
\Leaf\FS\Directory::delete("$directory/app/routes", ['recursive' => true]);
156+
\Leaf\FS\Directory::delete("$directory/public/assets", ['recursive' => true]);
156157

157158
\Leaf\FS\Directory::copy(__DIR__ . '/themes/api/routes', "$directory/app/routes");
158159

0 commit comments

Comments
 (0)