In iOS 13, json fetch in js is loading infinitely

After loading jsp url in WKWebView, doing evaluateJavaScript for doing some operations.

In there, json files from VM is trying fetch. That is failing.

const fetchData = async(path) => { try { let fetchResponse = {} if (path) { const response = await fetch(getURL(path)) const responseData = await response.json(); fetchResponse = responseData; } return fetchResponse } catch (e) { console.log(Error in fetchData ${path}, e) } }

In iOS 13, json fetch in js is loading infinitely
 
 
Q