Cors on any link
SolAleksander opened this issue · comments
And your dependencie microlink/mql
started demanding url-http package, which was not required before
I had to install it in my dependencies and resolve the path to it. This has never happened before
Today I updated webpack packages and this moment happened on the dev assembly.
But I haven’t uploaded anything to production yet, but there is a bug.
Maybe mql is the reason
Thank you
Hello,
It isn't a CORS error. The real error is being hidden, and the browser is treated it as CORS at the very last, so we need to go deep and see what's happening behind that.
Can wrap the code with try/catch
and try to log the error there?
Also, what's SDK are you using? React? Vanilla?
Both are using @microlink/mql that is using url-http is dependency. It isn't clear to me why you have to install it; npm install should resolve the dependency tree.