I attempted to add
module.exports = {
backends: origin
}
but the file reverts when after I try to deploy.
I am using create-react-app and added the router.js boilerplate code here:
https://developer.moovweb.com/guides/react
I attempted to add
module.exports = {
backends: origin
}
but the file reverts when after I try to deploy.
I am using create-react-app and added the router.js boilerplate code here:
https://developer.moovweb.com/guides/react
It sounds like your configuration may not be valid. If you could provide your full router.js
and xdn.config.js
, it would be easier to narrow down.
Take a look at this example for how a backend should be defined for proxying: Moovweb XDN Documentation - Cookbook