后台管理系统禁止所有搜索引擎收录配置
This commit is contained in:
parent
2bcd78ddad
commit
a31427127c
@ -118,6 +118,10 @@ module.exports = {
|
||||
}
|
||||
})
|
||||
config.optimization.runtimeChunk('single')
|
||||
},
|
||||
{
|
||||
from: path.resolve(__dirname, './public/robots.txt'),//防爬虫文件
|
||||
to:'./',//到根目录下
|
||||
}
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user