fix: clarify warning message for allowed IPs configuration
This commit is contained in:
parent
6e74317cb5
commit
1c33d131c7
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class="flex flex-col h-full gap-8 sm:flex-row">
|
|||
placeholder="192.168.1.100,10.0.0.0/8,203.0.113.0/24" />
|
||||
@if (empty($allowed_ips) || in_array('0.0.0.0', array_map('trim', explode(',', $allowed_ips ?? ''))))
|
||||
<x-callout type="warning" title="Warning" class="mt-2">
|
||||
Using 0.0.0.0 allows API access from anywhere. This is not recommended for production
|
||||
Using 0.0.0.0 (or empty) allows API access from anywhere. This is not recommended for production
|
||||
environments!
|
||||
</x-callout>
|
||||
@endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue