Everything works great when I create a website using the Node.js package
But for an unknown reason, domain aliases are not added to my website
CODE:
await NetlifyClientConnection.createSite({
body: {
name: "domainName",
custom_domain: "adomainIadded.net",
domain_aliases: ["anotherdomainwhichdidnotshow.domain.io"],
}
}).then(
res => {
console.log(err);
}
).catch(err => {
console.log(err);
})
PLEASE HELP ME!