await site.update({ label: "Portfolio (2026)" });site.update(label="Portfolio (2026)")لماذا تم تثبيت الكس :
تغييره سيكسر ثلاثة أشياء مرة واحدة
فالوصلات التي سبق تقاسمها ، وميدان العميل الملحق بها ، والشهادة الصادرة لذلك الاسم المضيف .
لعنوان آخر، ولضيف آخر
const next = await api.hosts.create({ kind: "site", slug: "portfolio-2026", label: "Portfolio" });
await next.deploy({ files: "./out" });
// Then move the domain, and remove the old host when nothing points at it.nxt = api.hosts.create(runtime="static", slug="portfolio-2026", label="Portfolio")
nxt.deploy(files="./out")
# Then move the domain, and remove the old host when nothing points at it.ما هو الغرض من هذا الوصف
لا شيء يعتمد عليه ، لذلك تغييره آمن ، وهذا هو بالضبط السبب في انه المجال الوحيد الذي يمكن ان يتغير .
إنه يُحدث الجسم
host.label استبدل بما عاد