Only send provider specific dns configs

This commit is contained in:
Johannes Zellner
2025-05-02 15:34:10 +02:00
parent 3c1419a22f
commit 8939f0dad7
3 changed files with 118 additions and 66 deletions

View File

@@ -20,7 +20,31 @@ const provider = ref('');
const tlsProvider = ref('letsencrypt-prod-wildcard');
const showAdvanced = ref(false);
const customNameservers = ref(false);
const dnsConfig = ref({});
// we have to define all properties here which are used in the DomainProviderForm to keep reactivity alive
const dnsConfig = ref({
accessKeyId: '',
accessKey: '',
accessToken: '',
apiKey: '',
apikey: '',
appSecret: '',
apiPassword: '',
apiSecret: '',
consumerKey: '',
credentials: { client_email: '', private_key: '' },
customerNumber: '',
defaultProxyStatus: false,
email: '',
endpoint: '',
password: '',
projectId: '',
secretAccessKey: '',
secretapikey: '',
token: '',
tokenType: '',
username: '',
});
const isFormValid = ref(false);
function checkValidity() {