Skip to content

Commit ef0e97f

Browse files
wip
1 parent ef1b7bf commit ef0e97f

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
@@ -37,16 +37,10 @@ public static function getCookieDomain(): string
3737

3838
public static function getPrivateKey(): string
3939
{
40-
$key = throw_unless(
40+
return throw_unless(
4141
config('cloudfront-cookies.private_key'),
4242
Exception::class
4343
);
44-
45-
if (file_exists($key) && is_readable($key)) {
46-
return file_get_contents($key);
47-
}
48-
49-
return $key;
5044
}
5145

5246
public static function getKeyPairId(): string

0 commit comments

Comments
 (0)