Skip to content

Commit a214368

Browse files
author
root
committed
added jwt secret everytime composer run
1 parent 281d096 commit a214368

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"database"
2424
],
2525
"psr-4": {
26-
"App\\": "app/"
26+
"App\\": "app/",
27+
"Api\\": "api/"
2728
}
2829
},
2930
"autoload-dev": {
@@ -36,7 +37,8 @@
3637
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
3738
],
3839
"post-create-project-cmd": [
39-
"php artisan key:generate"
40+
"php artisan key:generate",
41+
"php artisan jwt:secret"
4042
],
4143
"post-install-cmd": [
4244
"Illuminate\\Foundation\\ComposerScripts::postInstall",

0 commit comments

Comments
 (0)