From b28ed9aca251b18c02546c5ca00172e003aa041c Mon Sep 17 00:00:00 2001 From: Seven Du Date: Fri, 16 Mar 2018 13:55:35 +0800 Subject: [PATCH] docs: Fixed readme publish command-line error. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a7347e..844e0f7 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ protected $middleware => [ You run Laravel Artisan command: ```shell -php artisan vendor::publish --force --class="\Medz\Cors\Laravel\Probiders\LaravelServiceProvider" +php artisan vendor:publish --provider="Medz\Cors\Laravel\Providers\LaravelServiceProvider" --force ``` publish `cors.php` file to `config` dir.