Skip to content

Commit 812ce9c

Browse files
authored
Merge pull request #98 from gethinode/develop
Develop
2 parents b9b6c07 + 2158256 commit 812ce9c

File tree

3 files changed

+27
-17
lines changed

3 files changed

+27
-17
lines changed

netlify.toml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,20 @@
2222
X-XSS-Protection = "1; mode=block"
2323
Content-Security-Policy = """\
2424
default-src 'self'; \
25+
child-src 'self' app.netlify.com; \
2526
script-src 'self' \
26-
https://utteranc.es/client.js; \
27-
style-src 'self' https://utteranc.es https://fonts.googleapis.com https://www.youtube.com; \
27+
app.netlify.com netlify-cdp-loader.netlify.app \
28+
https://utteranc.es/client.js https://*.google-analytics.com https://*.googletagmanager.com; \
29+
style-src 'self' \
30+
netlify.app https://utteranc.es https://fonts.googleapis.com https://www.youtube.com; \
2831
object-src 'none'; \
2932
base-uri 'self'; \
30-
connect-src 'self'; \
33+
connect-src 'self'
34+
https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com; \
3135
font-src 'self' https://fonts.gstatic.com; \
32-
frame-src 'self' https://utteranc.es https://www.youtube-nocookie.com https://www.youtube.com; \
33-
img-src 'self' https://i.vimeocdn.com https://i.ytimg.com; \
36+
frame-src 'self' https://utteranc.es https://www.youtube-nocookie.com https://www.youtube.com \
37+
app.netlify.com; \
38+
img-src 'self' https://i.vimeocdn.com https://i.ytimg.com https://*.google-analytics.com https://*.googletagmanager.com; \
3439
manifest-src 'self'; \
3540
media-src 'self' \
3641
"""
@@ -47,7 +52,12 @@
4752
fullscreen=(), \
4853
payment=() \
4954
"""
50-
Cache-Control = "public, max-age=31536000"
55+
cache-control = """\
56+
max-age=0, \
57+
no-cache, \
58+
no-store, \
59+
must-revalidate \
60+
"""
5161
Access-Control-Allow-Origin = "*"
5262

5363
[context.deploy-preview]

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gethinode/child",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"description": "Hinode is a clean blog theme for Hugo, an open-source static site generator",
55
"main": "index.js",
66
"scripts": {
@@ -37,7 +37,7 @@
3737
"devDependencies": {
3838
"@fortawesome/fontawesome-free": "^6.4.0",
3939
"@fullhuman/postcss-purgecss": "^5.0.0",
40-
"@gethinode/hinode": "^0.12.1",
40+
"@gethinode/hinode": "^0.12.5",
4141
"autoprefixer": "^10.4.14",
4242
"bootstrap": "^5.3.0-alpha3",
4343
"eslint": "^8.39.0",

0 commit comments

Comments
 (0)