Added: meta-tags and robots.txt to prevent search engine indexing
This commit is contained in:
1 parent
2b79d0b337
commit
24a2c748cd
5 files changed
+9
No files matched your search
@@ -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