Skip to content

Commit 1dde3ac

Browse files
committed
chore: add hotjar to CSP
1 parent 0736690 commit 1dde3ac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.prettierignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,4 @@ dist
155155
.pnp.*
156156

157157
# Ignore locales formatting
158-
locales/*.json
158+
**/locales/*.json

nuxt.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export default defineNuxtConfig({
7474
contentSecurityPolicy: {
7575
"img-src": ["'self'", "data:", "https://randomuser.me", "https://*.unsplash.com"],
7676
"style-src": ["'self'", "'unsafe-inline'", "https://rsms.me"],
77+
"script-src": ["'self'", "'unsafe-inline'", "https://*.hotjar.com"],
7778
},
7879
},
7980
},

0 commit comments

Comments
 (0)