Skip to content

Commit

Permalink
feat: optional
Browse files Browse the repository at this point in the history
  • Loading branch information
AbigailDeng authored and AbigailDeng committed Aug 19, 2024
1 parent 8b84022 commit 62617ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/getConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ const schema = z.object({
logoLight: z.string().url(),
logoDark: z.string().url(),
github: z.string().url(),
blog: z.string().url(),
blog: z.string().url().optional(),
copyright: z.string(),
footerTwitter: z.string().url(),
footerTelegram: z.string().url(),
footerDiscord: z.string().url(),
footerGitHub: z.string().url(),
footerTwitter: z.string().url().optional(),
footerTelegram: z.string().url().optional(),
footerDiscord: z.string().url().optional(),
footerGitHub: z.string().url().optional(),
metaTitle: z.string(),
metaDescription: z.string(),
metaIcon: z.string().url(),
Expand Down

0 comments on commit 62617ea

Please sign in to comment.