DEV Community

Discussion on: Deploy Your Django + React.js app to Heroku

Collapse
ktarun003 profile image
KTarun003

I followed your method , and configured CORS too, it works in development , but when i tried it in production it says that due to CORS it cannot accessed. Can anybody explain why? What am i doing wrong?

Collapse
shakib609 profile image
Shakib Hossain Author

Hi, you can use this django package to configure CORS behavior in production too.