Skip to content

Commit a01d627

Browse files
author
Aaron Suarez
committed
Add vercel.app to CORS allowed origins
1 parent 2c68949 commit a01d627

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/api/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
ALLOWED_ORIGINS = [
77
'http://localhost:3000',
88
r"https:\/\/(www\.)?operationcode\.org",
9-
r"https:\/\/(.*\.)?operation-code(-.*)?\.now\.sh"
9+
r"https:\/\/(.*\.)?operation-code(-.*)?\.now\.sh",
10+
r"https:\/\/(.*\.)?operation-code(-.*)?\.vercel\.app"
1011
]
1112

1213
CORS(bp, origins=ALLOWED_ORIGINS)

0 commit comments

Comments
 (0)