Uncaught SyntaxError: Bad escaped character in JSON at position 97', filename: 'blob:http://localhost:4201/c708361e-0008-48a9-95b9-c955556554e8'
I have debugged this error to being the applicationURL in the config JSON that the worker tries to parse which has a single and double \ in the (original) URL. The config is trying to escape the \ which results in '\\\\' and '\\' respectively, but as this is JSON inside JS, it requires 8 slashed instead of 4 to parse. See the attached fiddle with the current code and the working code.
Question is how to fix this as I can't edit the worker code? and cannot parse the applicationURL through with my own escaping?
@arcgis/core - Latest (4.24)