From 39e7df9e85ccf459614b939e13e3556d1b2b0f9d Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Wed, 15 Apr 2020 19:51:06 +0200 Subject: [PATCH] Update CSP+ --- layouts/index.headers | 2 +- netlify.toml | 6 +++--- package.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/index.headers b/layouts/index.headers index 7e5a5c4..89d794a 100644 --- a/layouts/index.headers +++ b/layouts/index.headers @@ -2,7 +2,7 @@ Strict-Transport-Security: max-age=31536000; includeSubDomains; preload X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block - Content-Security-Policy: default-src 'none'; img-src https://doks.netlify.com/; script-src https://doks.netlify.com/; style-src https://doks.netlify.com/ + Content-Security-Policy: default-src 'self'; img-src 'self' data:; object-src 'none' X-Frame-Options: SAMEORIGIN Referrer-Policy: strict-origin Feature-Policy: geolocation 'self' diff --git a/netlify.toml b/netlify.toml index 70319d0..14cadef 100644 --- a/netlify.toml +++ b/netlify.toml @@ -4,13 +4,13 @@ functions = "functions/" [build.environment] - HUGO_VERSION = "0.69.0" + HUGO_VERSION = "0.68.3" NODE_VERSION = "13.11.0" NPM_VERSION = "6.13.7" - YARN_VERSION = "1.22.4" + YARN_VERSION = "1.22.0" [context.deploy-preview] command = "yarn build:preview" [context.branch-deploy] - command = "yarn build" + command = "yarn build" \ No newline at end of file diff --git a/package.json b/package.json index a5a1afb..4d7f302 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "hyas", - "version": "1.2.1", + "name": "doks", + "version": "0.1.0", "private": true, "browserslist": [ "defaults"