“unsafely-treat-insecure-origin-as-secure” flag is not working on Chrome

前端 未结 7 2116
天涯浪人
天涯浪人 2020-12-01 04:36

I am using geo-location for a site running locally on my machine using HTTP on Chrome. However this does not work as I am running on HTTP as opposed to HTTPS.

On th

7条回答
  •  再見小時候
    2020-12-01 05:09

    You should also use a temproary fresh profile for that session. something like this:

    chrome.exe --user-data-dir=/test/only/profile/dir --unsafely-treat-insecure-origin-as-secure="http://example.com"
    

提交回复
热议问题