Added: meta-tags and robots.txt to prevent search engine indexing
This commit is contained in:
@@ -31,6 +31,10 @@ if(config.accessLog) {
|
||||
app.use('/app', express.static(path.join(__dirname, '../public/app')));
|
||||
app.use('/assets', express.static(path.join(__dirname, '../public/assets')));
|
||||
|
||||
// robots.txt
|
||||
app.get('/robots.txt', (req, res) => {
|
||||
res.sendFile(path.join(__dirname, '../public/robots.txt'));
|
||||
});
|
||||
|
||||
// Upload App
|
||||
app.get('/', (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user