update port checking on prod

This commit is contained in:
2021-07-21 12:20:06 +01:00
parent 3268cca452
commit ea56f9e228
8 changed files with 380 additions and 15 deletions
+9
View File
@@ -0,0 +1,9 @@
const path = require('path')
const setup = ({ server }) => {
server.get('/robots.txt', (req, res) => {
res.sendFile(path.join(__dirname, '../static', 'robots.txt'));
});
}
module.exports = setup