后台管理系统禁止所有搜索引擎收录配置

This commit is contained in:
Live 2020-06-08 18:23:07 +08:00 committed by Gitee
parent 2bcd78ddad
commit a31427127c

View File

@ -118,6 +118,10 @@ module.exports = {
}
})
config.optimization.runtimeChunk('single')
},
{
from: path.resolve(__dirname, './public/robots.txt'),//防爬虫文件
to:'./',//到根目录下
}
)
}