From 9db3fbdc565eb21c214815f22c4be63b563cdd2d Mon Sep 17 00:00:00 2001 From: neochaojin Date: Mon, 24 Feb 2025 16:12:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8vite=E8=BF=9B=E5=85=A5dev?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E6=97=B6=EF=BC=8C=E9=9C=80=E8=A6=81=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=9F=9F=E5=90=8D=E7=99=BD=E5=90=8D=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/config.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 732ac8c..3dfb423 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -8,7 +8,16 @@ const navbar_def = require('./config/nav.js'); const sidebar_def = require('./config/sidebar.js'); export default defineUserConfig({ - bundler: viteBundler(), + bundler: viteBundler({ + viteOptions: { + server: { + allowedHosts: [ + "vuepress-dev.thecodeway.com" + ] + } + }, + vuePluginOptions: {} + }), theme: defaultTheme({ logo: 'favicon.png', navbar: navbar_def,