From d17eebbee7207bd97b097b49a305b13a45325c75 Mon Sep 17 00:00:00 2001 From: Mike McNeil Date: Wed, 17 Mar 2021 20:12:49 -0500 Subject: [PATCH] add back contact form (doesn't actually work yet) @mike-j-thomas this is for you buddy --- website/config/routes.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/config/routes.js b/website/config/routes.js index 5b4506d924..f375ed82e2 100644 --- a/website/config/routes.js +++ b/website/config/routes.js @@ -31,11 +31,11 @@ module.exports.routes = { '/company/about': '/blog', // FUTURE: brief "about" page explaining the origins of the company '/company/stewardship': 'https://github.com/fleetdm/fleet', // FUTURE: page about how we approach open source and our commitments to the community - // 'GET /company/contact': { action: 'view-contact' }, - '/company/contact': (req, res)=>{ - // FUTURE: Page about this. See “Contacting Fleet” in google drive for verbiage (updated holiday hours) - better to just make it all open source and check it in here. For inspiration, see also: https://about.gitlab.com/company/contact/ - res.redirect('mailto:todo@example.com?subject=I have a question&body=Please do not send this email!\n\nWe are a very young company and still working on our processes. For now, if you have questions or feedback for us, please create an issue at https://github.com/fleetdm/fleet/issues. Thank you!'); - }, + 'GET /company/contact': { action: 'view-contact' }, +// '/company/contact': (req, res)=>{ +// // FUTURE: Page about this. See “Contacting Fleet” in google drive for verbiage (updated holiday hours) - better to just make it all open source and check it in here. For inspiration, see also: https://about.gitlab.com/company/contact/ +// res.redirect('mailto:todo@example.com?subject=I have a question&body=Please do not send this email!\n\nWe are a very young company and still working on our processes. For now, if you have questions or feedback for us, please create an issue at https://github.com/fleetdm/fleet/issues. Thank you!'); +// }, // 'GET /welcome/:unused?': { action: 'dashboard/view-welcome' },