mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Change CNAME for functions custom domains (#2863)
This commit is contained in:
@@ -54,8 +54,6 @@
|
||||
case 'cname':
|
||||
if (service === 'sites') {
|
||||
return $regionalConsoleVariables._APP_DOMAIN_SITES;
|
||||
} else if (service === 'functions') {
|
||||
return $regionalConsoleVariables._APP_DOMAIN_FUNCTIONS;
|
||||
} else {
|
||||
return $regionalConsoleVariables._APP_DOMAIN_TARGET_CNAME;
|
||||
}
|
||||
|
||||
+2
-2
@@ -29,8 +29,8 @@
|
||||
const ruleId = page.url.searchParams.get('rule');
|
||||
|
||||
const showCNAMETab = $derived(
|
||||
Boolean($regionalConsoleVariables._APP_DOMAIN_FUNCTIONS) &&
|
||||
$regionalConsoleVariables._APP_DOMAIN_FUNCTIONS !== 'localhost'
|
||||
Boolean($regionalConsoleVariables._APP_DOMAIN_TARGET_CNAME) &&
|
||||
$regionalConsoleVariables._APP_DOMAIN_TARGET_CNAME !== 'localhost'
|
||||
);
|
||||
const showATab = $derived(
|
||||
!isCloud &&
|
||||
|
||||
+2
-2
@@ -26,8 +26,8 @@
|
||||
} = $props();
|
||||
|
||||
const showCNAMETab = $derived(
|
||||
Boolean($regionalConsoleVariables._APP_DOMAIN_FUNCTIONS) &&
|
||||
$regionalConsoleVariables._APP_DOMAIN_FUNCTIONS !== 'localhost'
|
||||
Boolean($regionalConsoleVariables._APP_DOMAIN_TARGET_CNAME) &&
|
||||
$regionalConsoleVariables._APP_DOMAIN_TARGET_CNAME !== 'localhost'
|
||||
);
|
||||
const showATab = $derived(
|
||||
!isCloud &&
|
||||
|
||||
Reference in New Issue
Block a user