fix: checking CORS preview mode
This commit is contained in:
parent
2fe682aff3
commit
da6695227c
|
@ -14,7 +14,8 @@ app.use(
|
|||
cors({
|
||||
origin:
|
||||
process.env.NODE_ENV?.trim() === 'development'
|
||||
? 'http://localhost:3000'
|
||||
? // ? 'http://localhost:3000'
|
||||
'https://url-minify-git-fork-olaleye-blessing-fixurlminified-bravo68web.vercel.app'
|
||||
: 'https://minfy.xyz',
|
||||
})
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue