diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 5e18cbba82112a41c17b9cf3ee1d466f07d4f1f4..6dc619b61ae33cb2101faa6a0809d3af12ad8fe8 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -64,29 +64,6 @@ const config = { .plugin('normallize-link') .use(require('./markdown/normallizeLink')) } - }, - chainWebpack: (config, isServer) => { - console.log('config :>> ', config); - config.devServer.proxy({ - '/ext': { - target: 'http://localhost:3000', // 后台api - changeOrigin: true, //是否跨域 - secure: false, - // secure: true, - pathRewrite: { - '^/ext': '' //需要rewrite的, - } - }, - '/ask': { - target: 'https://ask.dcloud.net.cn', // 后台api - changeOrigin: true, //是否跨域 - secure: false, - // secure: true, - pathRewrite: { - '^/ask': '' //需要rewrite的, - } - } - }) } }