diff --git a/Privacy Policy - CodeWe.docx b/Privacy Policy - CodeWe.docx deleted file mode 100644 index b4cb012..0000000 Binary files a/Privacy Policy - CodeWe.docx and /dev/null differ diff --git a/Terms and Conditions - CodeWe.docx b/Terms and Conditions - CodeWe.docx deleted file mode 100644 index 3919a63..0000000 Binary files a/Terms and Conditions - CodeWe.docx and /dev/null differ diff --git a/src/routes/legal.js b/src/routes/legal.js index 60bab8f..e740f66 100644 --- a/src/routes/legal.js +++ b/src/routes/legal.js @@ -32,6 +32,17 @@ router.get(['/tos', '/tac', '/termsofservice', '/terms-of-service'], (req, res) res.render('legal/tos.html', {production: config.PRODUCTION, client_versobe: config.CLIENT_VERBOSE}); }); +/** +* Route serving termsofservice PDF +* @name get/termsofservice +* @function +* @memberof modules:routes/legal +* @inner +*/ +router.get(['/tos-pdf', '/tac-pdf', '/termsofservice-pdf', '/terms-of-service-pdf'], (req, res) => { + res.download("./views/legal/tos-pdf.pdf") +}); + /** * Route serving termsofservice archive * @name get/termsofservice @@ -62,6 +73,17 @@ router.get(['/privacy', '/privacy-policy', '/privacypolicy'], (req, res) => { res.render('legal/privacy.html', {production: config.PRODUCTION, client_versobe: config.CLIENT_VERBOSE}); }); +/** + * Route serving privacy policy PDF + * @name get/privacy + * @function + * @memberof modules:routes/legal + * @inner + */ +router.get(['/privacy-pdf', '/privacy-policy-pdf', '/privacypolicy-pdf'], (req, res) => { + res.download("./views/legal/privacy-pdf.pdf") +}); + /** * Route serving privacy policy archive * @name get/privacy diff --git a/src/views/component/footer.html b/src/views/component/footer.html index 38725c2..9c3629c 100644 --- a/src/views/component/footer.html +++ b/src/views/component/footer.html @@ -8,7 +8,7 @@ Support Report issue - Copyright © 2020 Dewilde Alexandre, Dubois Brieuc and Fischer Nicolas + Copyright © 2020 Dewilde Alexandre, Dubois Brieuc and Technicguy Theo