Skip to content

Commit

Permalink
chore: update twitter domain
Browse files Browse the repository at this point in the history
fix twitter domain #2
  • Loading branch information
yogyy committed Jun 18, 2024
1 parent d37495a commit d94b2eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/_lib/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const uploadPhoto = z.object({
storageKey: z.string(),
width: z.string(),
height: z.string(),
tweetUrl: z.string().startsWith("https://twitter.com/"),
tweetUrl: z.string().startsWith("https://x.com/"),
authorName: z.string(),
authorHandle: z.string().startsWith("@"),
})
Expand Down

0 comments on commit d94b2eb

Please sign in to comment.