3 ms·
How hard is CORS set up with dedicated frontend/backend? I'm running into this with Django REST and VueJS. Or do you just host both using Heroku?
by xu3u32 6y ago
How hard is CORS set up with dedicated frontend/backend? I'm running into this with Django REST and VueJS. Or do you just host both using Heroku?
- cbdumas 6y agoI'm not the person you asked but I have my frontend hosted separately from the Heroku backend. CORS was a bit of a pain at first, mostly because I had never had to deal with it before, but after initial setup I never think about it.
- justingreet 6y agoWe use Django REST and an angular frontend. Django is hosted on heroku, and angular is hosted on netlify. Netlify makes it super easy to proxy API requests from the front-end to our API backend.