I first implemented my site on a remote VPS without SSL, but then recently got certs from letsencrypt.org.
The site is now accessible at https://www.example.com but some of my GET requests began throwing "Mixed Content ... the content must be served over HTTPS." errors in the inspection console, so I tried changing the base reference in my JS code from:
to
and now I'm getting this error: "net::ERR_SSL_PROTOCOL_ERROR"
Is there more that I need to do to make port 3000 or mongo serve correctly across https?
I'm pretty new to all of this, so any help or insights would be greatly appreciated! Thanks!