fix: ios 16

This commit is contained in:
hashbro
2026-08-09 22:05:47 +08:00
parent 6bc172c570
commit ad30453922
7 changed files with 8 additions and 21 deletions
+2 -7
View File
@@ -47,8 +47,8 @@ class Channel extends Model
}
/**
* Domains for support-link display and builder channel hosts.
* Channel row wins; otherwise CORUNA_LAB_CHANNEL_DOMAINS.
* Domains for support-link display.
* Channel row wins; otherwise CORUNA_LAB_CHANNEL_DOMAINS (system settings).
*
* @return list<string>
*/
@@ -90,11 +90,6 @@ class Channel extends Model
{
$links = [];
$path = '/web/'.$this->channel_id.'/support.html';
$baseUrl = rtrim((string) config('coruna.static_site.base_url', ''), '/');
if ($baseUrl !== '') {
$links[] = $baseUrl.$path;
}
$scheme = trim((string) config('coruna.static_site.scheme', 'https')) ?: 'https';
foreach ($this->resolvedDomains() as $domain) {
$origin = rtrim($domain, '/');