Skip to content

以前能正常运行的包,现在报错 #41

@boringtu

Description

@boringtu

问题描述:

同样的源码编译后的chrome扩展,以前可以正常运行,现在跑不起来,报错:

image

Refused to load the script 'chrome-extension://2f188206-574c-4001-82fa-ac39af35e072/assets/index.1a64a8ba.js' because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' http://localhost:* http://127.0.0.1:*". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions