How to launch html using Chrome at “--allow-file-access-from-files” mode?

前端 未结 11 1645
我寻月下人不归
我寻月下人不归 2020-11-21 23:12

I have the same situation with HERE

And to solve this problem I have to launch html file using Chrome at \"--allow-file-access-from-files\" mode. I tried next steps

11条回答
  •  别那么骄傲
    2020-11-21 23:54

    On windows:

    chrome --allow-file-access-from-files file:///C:/test%20-%203.html
    

    On linux:

    google-chrome --allow-file-access-from-files file:///C:/test%20-%203.html
    

提交回复
热议问题