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

前端 未结 11 1642
我寻月下人不归
我寻月下人不归 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:44

    You may want to try Web Server for Chrome, which serves web pages from a local folder using HTTP. It's simple to use and would avoid the flag, which, as someone mentioned above, might make your file system vulnerable.

提交回复
热议问题