File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ You can configure the tus related options via environment variables:
143143In alternative, if you prefer, you can publish the configuration file in your Laravel installation.
144144
145145```
146- php artisan vendor:publish --tag=tusupload- config
146+ php artisan vendor:publish --provider="OneOffTech\TusUpload\Providers\TusUploadServiceProvider" --tag= config
147147```
148148
149149### Starting the Tus server
Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ public function boot()
2525
2626 $ this ->publishes ([
2727 __DIR__ .'/../../config/tusupload.php ' => config_path ('tusupload.php ' ),
28- ], 'tusupload-config ' );
28+ ], 'config ' );
29+
30+ $ this ->publishes ([
31+ __DIR__ .'/../../database/migrations/ ' => database_path ('migrations ' ),
32+ ], 'migrations ' );
2933
3034 if ($ this ->app ->runningInConsole ()) {
3135 $ this ->commands ([
@@ -49,7 +53,7 @@ public function register()
4953 $ this ->app ->bind (AuthenticationResolverContract::class, AuthenticationResolver::class);
5054 $ this ->app ->singleton (AuthenticationResolver::class, function ($ app ){
5155 return new AuthenticationResolver (
52- $ app ->make (Gate::class),
56+ $ app ->make (Gate::class),
5357 Auth::createUserProvider (config ('auth.guards.api.provider ' )));
5458 });
5559 }
You can’t perform that action at this time.
0 commit comments