diff --git a/vite.config.ts b/vite.config.ts index fb81b4b..3a219a0 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,8 +4,9 @@ import react from '@vitejs/plugin-react' // https://vite.dev/config/ export default defineConfig({ server: { + host: '::', allowedHosts: [ - '*' + 'xiaoji.mymoyu.top' ], }, plugins: [react()],