Skip to content

Commit b5c39a1

Browse files
committed
Fix @schrej's proxy code.
1 parent 2290118 commit b5c39a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/trustedproxy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* how many proxies that client's request has
2525
* subsequently passed through.
2626
*/
27-
'proxies' => in_array(env('TRUSTED_PROXIES', ['*', '**'])) ?
27+
'proxies' => in_array(env('TRUSTED_PROXIES', []), ['*', '**']) ?
2828
env('TRUSTED_PROXIES') : explode(',', env('TRUSTED_PROXIES', null)),
2929

3030
/*

0 commit comments

Comments
 (0)