initial commit for welsh government planning appeals application

This commit is contained in:
2021-07-26 16:53:32 +01:00
parent 58f468c275
commit f0f15b4f6e
163 changed files with 15097 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
const path = require('path');
const setup = ({ server }) => {
server.get('/robots.txt', (req, res) => {
res.sendFile(path.join(__dirname, '../static', 'robots.txt'));
});
server.get('/humans.txt', (req, res) => {
res.sendFile(path.join(__dirname, '../static', 'humans.txt'));
});
server.get('/sitemap.xml', (req, res) => {
res.sendFile(path.join(__dirname, '../static', 'sitemap.xml'));
});
}
module.exports = setup;