I have a website hosted on AWS -> EC2 with Cloudfront setup. The issue when the code makes an OnSubmit post via vue it returns, Uncaught (in promise) undefined Promise onSubmit. What behaviours do I need to enable this, it's hard to find a policy recommendation?
The stack is Laravel using vue3. Note this works on my test server.
I've tried a number of cors options in the 'Origin request policy'.