opnform/config/custom-domains.php

10 lines
223 B
PHP
Raw Normal View History

<?php
return [
'enabled' => !empty(env('CADDY_SECRET')) && !empty(env('CADDY_AUTHORIZED_IPS', [])),
'caddy_secret' => env('CADDY_SECRET'),
2023-12-21 10:38:05 +00:00
'authorized_ips' => explode(',', env('CADDY_AUTHORIZED_IPS','')),
];