mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
Fix loading commands of laravel/passport
This commit is contained in:
parent
2b575d7a8f
commit
22d49f972d
@ -2,6 +2,10 @@
|
||||
|
||||
use Artisan;
|
||||
|
||||
\Illuminate\Console\Application::starting(function ($artisan) {
|
||||
$artisan->resolveCommands([\Laravel\Passport\Console\KeysCommand::class]);
|
||||
});
|
||||
|
||||
Artisan::call('jwt:secret', ['--no-interaction' => true]);
|
||||
Artisan::call('migrate', ['--force' => true]);
|
||||
Artisan::call('passport:keys', ['--no-interaction' => true]);
|
||||
|
Loading…
Reference in New Issue
Block a user