I use nem-sdk for browser app.
I create request from local machine and all works fine.
But when deployed to server all function crash with:
code: -1, data: TypeError: Failed to fetch
If open in safari
An SSL error has occurred and a secure connection to the server cannot be made.
I tried use default MainNet and another
nem.model.objects.create(‘endpoint’)(nem.model.nodes.defaultMainnet, nem.model.nodes.defaultPort)
nem.model.objects.create(‘endpoint’)(‘https://bit.diamonds’, 7890);
My deployed app use https