fix: ios 16
This commit is contained in:
+13
-11
@@ -4,29 +4,31 @@ $parseDomains = static fn (string $value): array => array_values(array_filter(ar
|
||||
'trim',
|
||||
preg_split('/[\s,;]+/', $value) ?: []
|
||||
)));
|
||||
// Channel hosts (link display fallback + builder deployment_domains).
|
||||
// Optional link-display hosts (not used by the DGA binary patch).
|
||||
$channelDomains = $parseDomains((string) env('CORUNA_LAB_CHANNEL_DOMAINS', ''));
|
||||
// API / reporting hosts passed to lab-web as reporting_domains.
|
||||
$reportingDomains = $parseDomains((string) env('CORUNA_REPORTING_DOMAINS', ''));
|
||||
|
||||
return [
|
||||
'session_key' => env('CORUNA_SESSION_KEY'), // optional override; empty = derive(seed=0)
|
||||
// CORUNA_LAB_CHANNEL_DOMAINS — also mirrored as deployment_domains for the build API payload.
|
||||
'channel_domains' => $channelDomains,
|
||||
'deployment_domains' => $channelDomains,
|
||||
// CORUNA_REPORTING_DOMAINS
|
||||
'reporting_domains' => $reportingDomains,
|
||||
'static_site' => [
|
||||
// Optional complete origin/base path prepended before /channel/{id}/web/support.html.
|
||||
// Optional complete origin/base path prepended before /web/{id}/support.html.
|
||||
'base_url' => rtrim((string) env('CORUNA_STATIC_SITE_BASE_URL', ''), '/'),
|
||||
'scheme' => env('CORUNA_STATIC_SITE_SCHEME', 'https'),
|
||||
],
|
||||
'build_service' => [
|
||||
// HTTP host for coruna-lab-web build API (create/delete channel assets).
|
||||
'url' => rtrim((string) env('CORUNA_BUILD_SERVICE_URL', env('CORUNA_LAB_WEB_URL', '')), '/'),
|
||||
'token' => env('CORUNA_BUILD_SERVICE_TOKEN', env('CORUNA_LAB_WEB_TOKEN', '')),
|
||||
'connect_timeout' => (float) env('CORUNA_BUILD_SERVICE_CONNECT_TIMEOUT', 5),
|
||||
'timeout' => (float) env('CORUNA_BUILD_SERVICE_TIMEOUT', 600),
|
||||
'channel_builder' => [
|
||||
// Absolute python for channel-builder (default: channel-builder/.venv/bin/python or python3).
|
||||
'python' => (string) env('CORUNA_CHANNEL_BUILDER_PYTHON', ''),
|
||||
// Served artifact root: public/web/<id>/ + public/sync/ (+ lab_seeds/out under state_root).
|
||||
'artifact_root' => (string) env('CORUNA_ARTIFACT_ROOT', public_path()),
|
||||
// Builder state (lab_seeds.json, out/) — keep outside the web root when possible.
|
||||
'state_root' => (string) env(
|
||||
'CORUNA_CHANNEL_STATE_ROOT',
|
||||
storage_path('app/channel-builder')
|
||||
),
|
||||
'timeout' => (float) env('CORUNA_CHANNEL_BUILDER_TIMEOUT', 600),
|
||||
],
|
||||
'channels' => [
|
||||
// Max channel links per agent user (0 = official is unlimited). Overridable via settings.
|
||||
|
||||
Reference in New Issue
Block a user