diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..bd6117b --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.htm linguist-detectable=false diff --git a/src/routes/legal.js b/src/routes/legal.js index 0da9949..b691914 100644 --- a/src/routes/legal.js +++ b/src/routes/legal.js @@ -59,7 +59,7 @@ router.get([ '/termsofservice/archive/:date', '/terms-of-service/archive/:date' ], (req, res) => { - res.render(`legal/archive/tos-${req.params.date}.html`, { + res.render(`legal/archive/tos-${req.params.date}.htm`, { production: config.PRODUCTION, client_versobe: config.CLIENT_VERBOSE }); @@ -98,7 +98,7 @@ router.get(['/privacy-pdf', '/privacy-policy-pdf', '/privacypolicy-pdf'], (req, * @inner */ router.get(['/privacy/archive/:date', '/privacy-policy/archive/:date', '/privacypolicy/archive/:date'], (req, res) => { - res.render(`legal/archive/privacy-${req.params.date}.html`, { + res.render(`legal/archive/privacy-${req.params.date}.htm`, { production: config.PRODUCTION, client_versobe: config.CLIENT_VERBOSE }); diff --git a/src/views/legal/archive/privacy-20201117.html b/src/views/legal/archive/privacy-20201117.htm similarity index 100% rename from src/views/legal/archive/privacy-20201117.html rename to src/views/legal/archive/privacy-20201117.htm diff --git a/src/views/legal/archive/privacy-20201120.html b/src/views/legal/archive/privacy-20201120.htm similarity index 100% rename from src/views/legal/archive/privacy-20201120.html rename to src/views/legal/archive/privacy-20201120.htm diff --git a/src/views/legal/archive/privacy-20201122.html b/src/views/legal/archive/privacy-20201122.htm similarity index 100% rename from src/views/legal/archive/privacy-20201122.html rename to src/views/legal/archive/privacy-20201122.htm diff --git a/src/views/legal/archive/tos-20201115.html b/src/views/legal/archive/tos-20201115.htm similarity index 100% rename from src/views/legal/archive/tos-20201115.html rename to src/views/legal/archive/tos-20201115.htm diff --git a/src/views/legal/archive/tos-20201117.html b/src/views/legal/archive/tos-20201117.htm similarity index 100% rename from src/views/legal/archive/tos-20201117.html rename to src/views/legal/archive/tos-20201117.htm diff --git a/src/views/legal/archive/tos-20201122.html b/src/views/legal/archive/tos-20201122.htm similarity index 100% rename from src/views/legal/archive/tos-20201122.html rename to src/views/legal/archive/tos-20201122.htm