WIP-CORS issue fixes

Signed-off-by: Naval <ashish.kumar@cloudwick.com>
This commit is contained in:
Naval 2025-03-05 14:46:31 +05:30
parent 3489b75ec2
commit f43741f285

View file

@ -36,8 +36,7 @@ export function PhoneNumberList() {
const fetchNumberList = async () => { const fetchNumberList = async () => {
try { try {
const myHeaders = new Headers({ const myHeaders = new Headers({
"Origin": "*", "Origin": "*"
"x-requested-with": "XMLHttpRequest"
}); });
const requestOptions = { const requestOptions = {