"src/vscode:/vscode.git/clone" did not exist on "1f526b0cb8eff4bf3a7b9442a8bf8a834529330e"
Commit 0c069a57 authored by Live's avatar Live Committed by Gitee
Browse files

项目添加robots.txt 防止后台管理系统被搜索引擎收录

parent 19b86887
......@@ -117,7 +117,11 @@ module.exports = {
}
}
})
config.optimization.runtimeChunk('single')
config.optimization.runtimeChunk('single'),
{
from: path.resolve(__dirname, './public/robots.txt'),//防爬虫文件
to:'./',//到根目录下
}
}
)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment