fix: clarify warning message for allowed IPs configuration

This commit is contained in:
Andras Bacsai 2025-10-26 10:59:28 +01:00
parent 6e74317cb5
commit 1c33d131c7

View file

@ -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