Skip to content

Commit 352f186

Browse files
tanhongitgithub-actions[bot]
authored andcommitted
Fix styling
1 parent fd1e995 commit 352f186

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Http/Middlewares/CorsMiddleware.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ private function getAllowedPatterns(): array
140140
private function getCustomDomainPattern(): string
141141
{
142142
$customDomain = env('CORS_CUSTOM_DOMAIN_PATTERN');
143+
143144
return $customDomain ?: '/^$/'; // Empty pattern if not set
144145
}
145146

0 commit comments

Comments
 (0)