Skip to content

Commit

Permalink
fix: 콘텐츠 보안 정책 위반하는 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jaem1n207 committed Oct 3, 2024
1 parent 74c5edd commit 1dae7cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export async function getManifest(): Promise<Manifest.WebExtensionManifest> {
content_security_policy: {
extension_pages: isDev
? // this is required on dev for Vite script to load
`script-src 'self' http://localhost:${port}; object-src 'self'`
// eslint-disable-next-line no-useless-escape
`script-src \'self\' http://localhost:${port}; object-src \'self\'`
: "script-src 'self'; object-src 'self'",
},
};
Expand Down

0 comments on commit 1dae7cf

Please sign in to comment.