Skip to content

Commit a9adea8

Browse files
authored
Update LaravelRequestDocsServiceProvider.php
Copy index.html to public/request-docs when run the “php artisan vendor:publish --tag=request-docs-assets” command
1 parent 2d60cd9 commit a9adea8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/LaravelRequestDocsServiceProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function configurePackage(Package $package): void
2424
// publish resources/dist/_astro to public/
2525
$this->publishes([
2626
__DIR__.'/../resources/dist/_astro' => public_path('request-docs/_astro'),
27+
__DIR__.'/../resources/dist/index.html' => public_path('request-docs/index.html'),
2728
], 'request-docs-assets');
2829
}
2930

0 commit comments

Comments
 (0)