NG.js icon indicating copy to clipboard operation
NG.js copied to clipboard

Getting error calling proxy heroku app.

Open smatthews1999 opened this issue 8 years ago • 0 comments

Getting this error when calling connect..

'https://www.newgrounds.com/projects/games/1162526/preview' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://ncase-proxy.herokuapp.com/www.ngads.com/gateway_v2.php'. This request has been blocked; the content must be served over HTTPS.

Can you tell me what I'm doing wrong here?
My game is loaded as a preview on newgrounds and I am simply making a connect call as follows..

NG.connect('appid',encrypt_key') // using mine of course

thanks

smatthews1999 avatar Nov 29 '17 19:11 smatthews1999