From 317454f71f2138756fec685872233c5ecd17e5da Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Mon, 19 Jun 2023 11:26:04 +0800 Subject: [PATCH] Move the security.txt file into static files --- packages/web/next.config.js | 5 +++++ .../.well-known => public/static/well-known}/security.txt | 0 2 files changed, 5 insertions(+) rename packages/web/{pages/.well-known => public/static/well-known}/security.txt (100%) diff --git a/packages/web/next.config.js b/packages/web/next.config.js index da6ad160d..556d5969a 100644 --- a/packages/web/next.config.js +++ b/packages/web/next.config.js @@ -125,6 +125,11 @@ const moduleExports = { destination: '/.well-known/security.txt', permanent: true, }, + { + source: '/.well-known/security.txt', + destination: '/static/well-known/security.txt', + permanent: true, + }, { source: '/privacy', destination: 'https://docs.omnivore.app/about/privacy-policy', diff --git a/packages/web/pages/.well-known/security.txt b/packages/web/public/static/well-known/security.txt similarity index 100% rename from packages/web/pages/.well-known/security.txt rename to packages/web/public/static/well-known/security.txt