diff --git a/vite.config.ts b/vite.config.ts index 0abaa5d..69b1949 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,8 +7,9 @@ export default defineConfig(({ mode }) => { return { base: '/app_02/', server: { - port: 3000, + port: 3010, host: '0.0.0.0', + allowedHosts: ['mp.yizhezhe.com'], }, plugins: [react()], define: {