Remove root site option from nsite deploy form, always use named sites

This commit is contained in:
Alex Gleason committed 2026-04-02 02:55:12 -05:00
1 parent d4d6ff0d89
commit 85afb6828e
4 files changed
+14 -124

No files matched your search

+2 -3
View File
@@ -15,14 +15,13 @@ const nsiteProjectConfigSchema = z.object({
type: z.literal('nsite'),
url: z.string(),
data: z.object({
/** Kept optional — only present on configs created before the signer migration */
/** Kept optional — only present on configs created before the signer migration */
nsec: z.string().optional(),
siteTitle: z.string().optional(),
siteDescription: z.string().optional(),
/** Named-site dTag identifier (kind 35128). Absent → root site (kind 15128). */
/** Named-site dTag identifier (kind 35128). */
dTag: z.string().optional(),
/** 'named' | 'root'. Absent on legacy configs — treated as 'named' by the form. */
/** @deprecated — Shakespeare always deploys named sites now. Kept for backward compat. */
siteType: z.enum(['named', 'root']).optional(),
}),
});