initial commit for welsh government planning appeals application
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user