diff --git a/config/conf.js b/config/conf.js index 5802f8ea..5e8ca7bf 100644 --- a/config/conf.js +++ b/config/conf.js @@ -106,6 +106,7 @@ module.exports = { classification: 'This tool is based on Vulnogram, contact security@apache.org with any queries or problems', copyright: ' ', + sourceURL: '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/apache/security-vulnogram', // Uncomment this line and set a random string to allow unauthenticated access to draft CVE entries that are in review-ready or publish-ready state via /review// or /review//CVE-ID // This may be useful to share a link to the draft for internal reviews and only those with the link have access to the drafts. diff --git a/views/foot.pug b/views/foot.pug index 0d5a85ab..c1e377da 100644 --- a/views/foot.pug +++ b/views/foot.pug @@ -23,4 +23,8 @@ center.pad = conf.orgName | = conf.groupName - block logolink \ No newline at end of file + if conf.sourceURL + br + small + a.tgrey(href=conf.sourceURL, target='_blank') Source code + block logolink \ No newline at end of file