diff --git a/src/types.ts b/src/types.ts index a5d0549..ca17130 100644 --- a/src/types.ts +++ b/src/types.ts @@ -11,7 +11,7 @@ const rating = number() ) .required(); -export const typeJson = { "Content-Type": "application/json" }; +export const typeJson = { "Access-Control-Allow-Origin": "*", "Content-Type": "application/json" }; export const userReviewSchema = object({ username: string().min(2).max(30).required(),