Skip to content

Commit 16fd809

Browse files
wip
1 parent ef0e97f commit 16fd809

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/Support/Config.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,10 @@ public static function getPrivateKey(): string
4545

4646
public static function getKeyPairId(): string
4747
{
48-
$key = throw_unless(
48+
return throw_unless(
4949
config('cloudfront-cookies.key_pair_id'),
5050
Exception::class
5151
);
52-
53-
if (file_exists($key) && is_readable($key)) {
54-
return file_get_contents($key);
55-
}
56-
57-
return $key;
5852
}
5953

6054
public static function getExpires()

0 commit comments

Comments
 (0)