when i try to login my consule is filled with errors:
Access to XMLHttpRequest at 'https://develop.XXXXXXX.ml/api/users/login' from origin 'https://main.d3me78666on3b6.amplifyapp.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
RestLogin.js:53 Error: Network Error
at e.exports (createError.js:16:15)
at XMLHttpRequest.h.onerror (xhr.js:99:14)
develop.deeptrade.ml/api/users/login:1 Failed to load resource: net::ERR_FAILED
RestLogin.js:55 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'data')
at RestLogin.js:55:68
signin:1 Access to XMLHttpRequest at 'https://develop.XXXXXXX.ml/api/users/login' from origin 'https://main.d3me78666on3b6.amplifyapp.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
when i try to login my consule is filled with errors:
Access to XMLHttpRequest at 'https://develop.XXXXXXX.ml/api/users/login' from origin 'https://main.d3me78666on3b6.amplifyapp.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. RestLogin.js:53 Error: Network Error at e.exports (createError.js:16:15) at XMLHttpRequest.h.onerror (xhr.js:99:14) develop.deeptrade.ml/api/users/login:1 Failed to load resource: net::ERR_FAILED RestLogin.js:55 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'data') at RestLogin.js:55:68 signin:1 Access to XMLHttpRequest at 'https://develop.XXXXXXX.ml/api/users/login' from origin 'https://main.d3me78666on3b6.amplifyapp.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
cloudflare error 1016 - please advice, thanks