store subdomain in database instead of fqdn

this makes it more consistent with the locations table
This commit is contained in:
Girish Ramakrishnan
2023-08-16 19:28:04 +05:30
parent 1133a41b77
commit de7879afb5
9 changed files with 57 additions and 38 deletions

View File

@@ -21,8 +21,8 @@ exports = module.exports = {
CLOUDRON_ID_KEY: 'cloudron_id',
CLOUDRON_NAME_KEY: 'cloudron_name',
CONSOLE_SERVER_ORIGIN_KEY: 'console_server_origin',
DASHBOARD_DOMAIN_KEY: 'admin_domain',
DASHBOARD_FQDN_KEY: 'admin_fqdn',
DASHBOARD_DOMAIN_KEY: 'dashboard_domain',
DASHBOARD_SUBDOMAIN_KEY: 'dashboard_subdomain',
DIRECTORY_SERVER_KEY: 'directory_server_config',
DYNAMIC_DNS_KEY: 'dynamic_dns',
EXTERNAL_LDAP_KEY: 'external_ldap_config',
@@ -33,7 +33,7 @@ exports = module.exports = {
IPV6_CONFIG_KEY: 'ipv6_config',
LANGUAGE_KEY: 'language',
MAIL_DOMAIN_KEY: 'mail_domain',
MAIL_FQDN_KEY: 'mail_fqdn',
MAIL_SUBDOMAIN_KEY: 'mail_subdomain',
OIDC_COOKIE_SECRET_KEY: 'cookie_secret',
PROFILE_CONFIG_KEY: 'profile_config',
REGISTRY_CONFIG_KEY: 'registry_config',