Home>Article>Web Front-end> Google Chrome web worker appears cannot be accessed from origin 'null' error

Google Chrome web worker appears cannot be accessed from origin 'null' error

PHP中文网
PHP中文网 Original
2017-07-04 19:27:50 3433browse

cannot be accessed from origin 'null'Baidu translation is: Cannot be accessed from origin 'null'
It works in other browsers, but not in Google Chrome. After searching some information, the reason is probably due to the security mechanism of Google Chrome. It is not allowed to run directly locally, and it will be regarded as cross-domain access.

Solution: Set up a local server on your computer, and then access it through the local server, such as wamp.

otherwise using another browser.

The above is the detailed content of Google Chrome web worker appears cannot be accessed from origin 'null' error. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn