rvaidun / befake

view bereals without posting your own :)
284 stars 127 forks source link

cors everywhere not working with https #172

Closed LOGODERKING closed 1 year ago

LOGODERKING commented 1 year ago

If i try to use befake with my domain over https i get the error: Mixed Content: The page at 'https://befake.logoderking.de/' was loaded over HTTPS, but requested an insecure resource 'http://0.0.0.0:8082/https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPhoneNumber?key=AIzaSyDwjfEeparokD7sXPVQli9NsTuhT6fJ6iA'. This request has been blocked; the content must be served over HTTPS.

rvaidun commented 1 year ago

It will not work outside of the local dev environment since you need to host the CORS anywhere server on a HTTPS domain as well.

LOGODERKING commented 1 year ago

do you have a ready server.js file for a domain? @rvaidun ?

rvaidun commented 1 year ago

You can run the existing server.js file on a domain but you will need to update the proxyURL on the frontend to point to the domain that is running the CORS anywhere server instead of localhost:8080