From a8e851ddf2a0f37b03ef4a351f517f1bf0a8f98c Mon Sep 17 00:00:00 2001 From: Remko Date: Fri, 26 Jan 2024 13:58:25 +0100 Subject: [PATCH 1/2] updated security.txt --- .well-known/security.txt | 3 +++ pwa/gatsby-config.js | 8 -------- pwa/package-lock.json | 12 ------------ pwa/package.json | 6 ++---- 4 files changed, 5 insertions(+), 24 deletions(-) create mode 100644 .well-known/security.txt diff --git a/.well-known/security.txt b/.well-known/security.txt new file mode 100644 index 00000000..b8911f9a --- /dev/null +++ b/.well-known/security.txt @@ -0,0 +1,3 @@ +Contact: mailto:info@conduction.nl +Expires: 2024-12-31T23:00:00.000Z +Preferred-Languages: nl, en diff --git a/pwa/gatsby-config.js b/pwa/gatsby-config.js index 862ff8e0..e2400e18 100644 --- a/pwa/gatsby-config.js +++ b/pwa/gatsby-config.js @@ -40,13 +40,5 @@ module.exports = { ], }, }, - { - resolve: "gatsby-plugin-security-txt", - options: { - contact: "mailto:info@conduction.nl", - expires: "2024-12-31T23:00:00.000Z", - languages: "nl, en", - }, - }, ], }; diff --git a/pwa/package-lock.json b/pwa/package-lock.json index c8b0d019..ff0ccd7c 100644 --- a/pwa/package-lock.json +++ b/pwa/package-lock.json @@ -54,7 +54,6 @@ "gatsby": "^5.13.3", "gatsby-plugin-breadcrumb": "^12.3.2", "gatsby-plugin-layout": "^4.13.1", - "gatsby-plugin-security-txt": "^1.2.1", "html-react-parser": "^5.1.1", "i18next": "^23.7.19", "jwt-decode": "^4.0.0", @@ -9480,17 +9479,6 @@ "gatsby": "^5.0.0-next" } }, - "node_modules/gatsby-plugin-security-txt": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/gatsby-plugin-security-txt/-/gatsby-plugin-security-txt-1.2.1.tgz", - "integrity": "sha512-AL2q2YQ4NtZsYp95C4mao74ETwBzSBlRB47PkDsK5BRieLovcM0E3kjSb7BJ6jGvX+5U3yKBspo/WJf1+Mad/A==", - "dependencies": { - "fs-extra": "^11.1.0" - }, - "peerDependencies": { - "gatsby": "^4.0.0 || ^5.0.0" - } - }, "node_modules/gatsby-plugin-typescript": { "version": "5.13.1", "resolved": "https://registry.npmjs.org/gatsby-plugin-typescript/-/gatsby-plugin-typescript-5.13.1.tgz", diff --git a/pwa/package.json b/pwa/package.json index 53c6b866..f1f45f1f 100644 --- a/pwa/package.json +++ b/pwa/package.json @@ -4,14 +4,13 @@ "private": true, "description": "Product Website Template", "author": "Conduction", - "keywords": [ - "gatsby" - ], + "keywords": ["gatsby"], "scripts": { "develop": "gatsby develop", "start": "gatsby develop", "build": "gatsby build --prefix-paths", "serve": "gatsby serve", + "serve-page": "gatsby serve --prefix-paths", "clean": "gatsby clean", "deploy": "gatsby build --prefix-paths && gh-pages -d public", "lint": "npm-run-all lint:** ", @@ -70,7 +69,6 @@ "gatsby": "^5.13.3", "gatsby-plugin-breadcrumb": "^12.3.2", "gatsby-plugin-layout": "^4.13.1", - "gatsby-plugin-security-txt": "^1.2.1", "html-react-parser": "^5.1.1", "i18next": "^23.7.19", "jwt-decode": "^4.0.0", From 5c6f2aaebc918b9012c03f0bd9964ae8b7c5ec47 Mon Sep 17 00:00:00 2001 From: Remko Date: Fri, 26 Jan 2024 14:53:39 +0100 Subject: [PATCH 2/2] updated security.txt --- .well-known/security.txt | 3 --- pwa/static/.well-known/security.txt | 10 ++++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) delete mode 100644 .well-known/security.txt create mode 100644 pwa/static/.well-known/security.txt diff --git a/.well-known/security.txt b/.well-known/security.txt deleted file mode 100644 index b8911f9a..00000000 --- a/.well-known/security.txt +++ /dev/null @@ -1,3 +0,0 @@ -Contact: mailto:info@conduction.nl -Expires: 2024-12-31T23:00:00.000Z -Preferred-Languages: nl, en diff --git a/pwa/static/.well-known/security.txt b/pwa/static/.well-known/security.txt new file mode 100644 index 00000000..0ea12e29 --- /dev/null +++ b/pwa/static/.well-known/security.txt @@ -0,0 +1,10 @@ +# Information related to reporting security vulnerabilities of this site. + +# How to communicate about security issues. +Contact: mailto:info@conduction.nl + +# Date and time after which this data is considered stale +Expires: 2024-12-31T23:00:00.000Z + +# Preferred languages for communication. +Preferred-Languages: nl, en