Merge pull request #2382 from omnivore-app/fix/web-well-known-location

Move the security.txt file into static files
This commit is contained in:
Jackson Harper 2023-06-19 12:04:39 +08:00 committed by GitHub
commit d2567e5c09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -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',