Test another vercel regex
This commit is contained in:
parent
6d3aff4836
commit
74952d741e
|
@ -36,7 +36,7 @@ export const CORS_ORIGIN_MANIFOLD = new RegExp(
|
|||
)
|
||||
// Vercel deployments, used for testing.
|
||||
export const CORS_ORIGIN_VERCEL = new RegExp(
|
||||
'^https?://[a-zA-Z0-9\\-]+' + escapeRegExp('mantic.vercel.app') + '$'
|
||||
'^https?://(?:[a-zA-Z0-9\\-]+\\.)*' + escapeRegExp('vercel.app') + '$'
|
||||
)
|
||||
// Any localhost server on any port
|
||||
export const CORS_ORIGIN_LOCALHOST = /^http:\/\/localhost:\d+$/
|
||||
|
|
Loading…
Reference in New Issue
Block a user