Add CORS headers
This commit is contained in:
parent
9bf3fc88a6
commit
e654c63b58
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue