Skip to content

Commit

Permalink
Update config/domains.ts
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
mikepsinn and coderabbitai[bot] authored Nov 20, 2024
1 parent 3f9b4d6 commit daf5fcf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/domains.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { z } from "zod"

export const DomainConfig = z.object({
name: z.string(),
description: z.string(),
name: z.string().min(1).max(50),
description: z.string().min(10).max(200),
author: z.string().optional(),
keywords: z.string().optional(),
defaultHomepage: z.string(),
afterLoginPath: z.string(),
keywords: z.array(z.string()).optional(),
defaultHomepage: z.string().startsWith("/"),
afterLoginPath: z.string().startsWith("/"),
ogImage: z.string().url().optional(),
})

Expand Down

0 comments on commit daf5fcf

Please sign in to comment.