"cors" does not match any of the allowed types when build #2408
-
I get this error on yarn build. I set cors with
Here is my config
|
Beta Was this translation helpful? Give feedback.
Answered by
DanRibbens
Mar 27, 2023
Replies: 1 comment 2 replies
-
What you have looks appears to be correct. Can you verify that you have a FE_URL defined in your .env? It must be a string insde the array or you'll get that error so my guess is that it isn't coming through. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
IRediTOTO
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What you have looks appears to be correct. Can you verify that you have a FE_URL defined in your .env?
It must be a string insde the array or you'll get that error so my guess is that it isn't coming through.