From 7e9d050432c7e0e03e9c0a64e2801cb80e77745f Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期四, 25 一月 2024 11:41:20 +0800 Subject: [PATCH] update http user-agent --- ruoyi-ui/vue.config.js | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index cfc179b..486801b 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -123,12 +123,7 @@ } } }) - - config.optimization.runtimeChunk('single'), - { - from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件 - to: './' //到根目录下 - } + config.optimization.runtimeChunk('single') }) } } -- Gitblit v1.9.2