was loaded over HTTPS, but requested an insecure error resolution

1. Question: Today, the customer service teacher reported in the group that a component that encrypts and uploads pictures fails to upload pictures, and asked me if there is a restriction on the picture format. I opened it in the console and broke out such an error

The page at 'https://oms.luojilab.com/oms-host#/ledgers/user' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://ddimage.luojilab.com/ddimage/upload/private/create_token'. This request has been blocked; the content must be served over HTTPS.

Meaning: The page at ' https://oms.luojilab.com/oms-host#/ledgers/user ' was loaded via HTTPS, but requested an insecure XMLHttpRequest endpoint' http://ddimage.luojilab.com/ddimage/ upload/private/create_token '. This request has been blocked; content must be served over HTTPS.

Guess you like

Origin blog.csdn.net/lovecoding1/article/details/129087794