Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
Allow specifying cors origins
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Jun 19, 2020
1 parent 7ce3eee commit 98124ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/manifest/v2/vercel.ts
@@ -1,3 +1,7 @@
import * as z from 'zod'
export const vercelDeployment = z.object({provider: z.literal('vercel')})
import {sanityCorsOrigin} from './common'
export const vercelDeployment = z.object({
provider: z.literal('vercel'),
corsOrigins: z.array(sanityCorsOrigin).optional(),
})
export type VercelDeployment = z.infer<typeof vercelDeployment>

0 comments on commit 98124ee

Please sign in to comment.