signalpoint / DrupalGap

An application development kit for Drupal websites.
https://www.drupalgap.org
GNU General Public License v2.0
232 stars 185 forks source link

Mixed content https #1019

Open IWantToImprovemySkills opened 5 years ago

IWantToImprovemySkills commented 5 years ago

Good morning Tyler, the recent events with GDPR brought me to think if there is any possibility to translate the app in https. I have no idea how to make it work though, the first time the console warned me with this:

"Mixed Content: The page at 'https://mysite.app/mobile-application/index.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://mysite.app/?q=services/session/token'. This request has been blocked; the content must be served over HTTPS."

I need to know this before continue or ditch all my work done till now, Best regards

signalpoint commented 5 years ago

@IWantToImprovemySkills All you need to do is change your site_path in the settings.js file to include the https.