How to make a ssl certificates for my nodeJs Express WEB api thus run on my local network?

110 Views Asked by At

I am trying to build a web api with hosted on my local network but the thing is my frontend website was deployed on web but i get this error on axios

AxiosError: Network Error

on my console it says this

XMLHttpRequest endpoint 'http://myIPaddress:3000/get'. This request has been blocked; the 
content must be served over HTTPS.`

but when my frontend run on localhost it work fine

I try to search this error it says i need to a SSL certificates

0

There are 0 best solutions below