更新 vite.config.ts

This commit is contained in:
肖宇迪 2026-01-04 13:52:12 +08:00
parent e2e9d1bdfc
commit 852748b645
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ export default defineConfig({
server: { server: {
allowedHosts: ["duooomi.com"] allowedHosts: ["duooomi.com"]
}, },
preview: {
allowedHosts: ["duooomi.com"]
},
plugins: [ plugins: [
react({ react({
babel: { babel: {