const servers = await api.domains.servers();
const served = await domain.serve({ name: "docs", pages: servers[0].name });
// { hostname, target, project, status, certificate, note }servers = api.domains.servers()
served = domain.serve(name="docs", pages=servers[0]["name"])
# {"hostname", "target", "project", "status", "certificate", "note"}namestringobrigatórioIl nome host, in rapporto alla zona — docs, www.
pagesstringobrigatórioLo che lo servirà, da servitori().
Por què è un appello
La piattaforma d'altre estrems deve riconoscere il nome, o il suo bordo nega la connezione — che l'escrivi ca un apagn. Scrivendo il record solo è l'errore que il appell existe per prevenire.
Il certificate dure un moment
certificate torna come suo stato. Fino a che il connecttion è attiva falls — a attente, non un defecto. Verificalo prima di dire a qualcuno l'indirizzo funcionà.
Per un host creata qui, usa il host
host.domains.attach() é aquele para algo hospedado em IaGenify. Este é para servir un nome de algo diferente sobre o compte.
Disfalo
unserve() elimina entrambe le metàs — l'inregistrazione e l'archive.