Error css or javascript files are loaded using http instead of https when deploy

hoangvietss12
TRIAL

a year ago

This is the error log: "Mixed Content: The page at 'https://fruit-store.up.railway.app/' was loaded over HTTPS, but requested an insecure script 'http://fruit-store.up.railway.app/home/js/custom.js'. This request has been blocked; the content must be served over HTTPS."
I using laravel

Solved

1 Replies

a year ago

You need to only be using https when making requests to your service hosted on Railway.


Status changed to Solved Railway over 1 year ago


Error css or javascript files are loaded using http instead of https when deploy - Railway Help Station