title: VueJS Requested an insecure XMLHttpRequest endpoint
body: <p>I have a VueJs app with a Laravel backend as the API.</p>
  
  <p>When running locally the app works as expected with https, however when on the production server I get the <code>Requested an insecure XMLHttpRequest endpoint</code> message.</p>
  
  <p>My server is on Digital Ocean, has been setup with RunCloud and has SSL enabled through LetsEncrypt.</p>
  
  <p>The application can be viewed here: <a href="https://vehicletrader.sweney.co/#/" rel="nofollow noreferrer">https://vehicletrader.sweney.co/#/</a> </p>
  
  <p>Please note at this stage theres is no authorization surrounding the API. </p>
  
  <p>Any advice would help. </p>