
Not really sure what happened, but clearly when I imported our backend code into our monorepo, it was not the latest version. So I'm fixing this now by putting in the latest code. I will re-apply the changes since later.
5 lines
69 B
JavaScript
5 lines
69 B
JavaScript
import cors from 'cors'
|
|
|
|
export default app => {
|
|
app.use(cors())
|
|
}
|