update port checking on prod
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user