From 08d0326718c52f1f7bfbaa265ec3177ea900ec4c Mon Sep 17 00:00:00 2001 From: zhaoxc5 Date: Mon, 25 Dec 2023 10:22:05 +0800 Subject: [PATCH] fix: delete unuse code --- ruoyi-ui/vue.config.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index cfc179bb..486801b1 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -123,12 +123,7 @@ module.exports = { } } }) - - config.optimization.runtimeChunk('single'), - { - from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件 - to: './' //到根目录下 - } + config.optimization.runtimeChunk('single') }) } }