-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hi, I wanted to create a simple manifest v3 extension but get the following two errors when I open the default popup:
Refused to load the script 'https://localhost:5173/@vite/client' because it violates the following Content Security Policy directive: "script-src 'self' http://localhost:5173". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
Refused to load the script 'https://localhost:5173/src/entries/popup/main.ts' because it violates the following Content Security Policy directive: "script-src 'self' http://localhost:5173". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
This happens in my extension but also when I create a new project with npm init @samrum/vite-plugin-web-extension@latest
and leave everything as it is.
It hasn't worked on Chrome v129 and now after I updated to v130.0.6723.59 still the same problem.
Metadata
Metadata
Assignees
Labels
No labels