Skip to content

Commit

Permalink
update vue.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yangzongzhuan committed Jan 11, 2024
1 parent f6d4f5c commit 4908b62
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ruoyi-ui/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,7 @@ module.exports = {
}
}
})

config.optimization.runtimeChunk('single'),
{
from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件
to: './' //到根目录下
}
config.optimization.runtimeChunk('single')
})
}
}

0 comments on commit 4908b62

Please sign in to comment.