From 85b4648a556789da0a6848d96ac9716367f3cc2e Mon Sep 17 00:00:00 2001 From: ratana Date: Thu, 30 Mar 2023 15:25:27 +0700 Subject: [PATCH] disable_config_set_in_provider --- src/BrefServiceProvider.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BrefServiceProvider.php b/src/BrefServiceProvider.php index 6acce73..5b87fd1 100644 --- a/src/BrefServiceProvider.php +++ b/src/BrefServiceProvider.php @@ -45,9 +45,9 @@ public function register() Config::set('view.compiled', StorageDirectories::Path . '/framework/views'); Config::set('cache.stores.file.path', StorageDirectories::Path . '/framework/cache'); - Config::set('cache.stores.dynamodb.token', env('AWS_SESSION_TOKEN')); - Config::set('filesystems.disks.s3.token', env('AWS_SESSION_TOKEN')); - Config::set('queue.connections.sqs.token', env('AWS_SESSION_TOKEN')); + // Config::set('cache.stores.dynamodb.token', env('AWS_SESSION_TOKEN')); + // Config::set('filesystems.disks.s3.token', env('AWS_SESSION_TOKEN')); + // Config::set('queue.connections.sqs.token', env('AWS_SESSION_TOKEN')); $this->app->when(QueueHandler::class) ->needs('$connection')