fix:添加allowedHosts

This commit is contained in:
“dongming”
2025-12-18 21:48:00 +08:00
parent e6804ed01c
commit eae2515336

View File

@@ -7,5 +7,7 @@ export default defineConfig({
plugins: [tailwindcss(), react()],
server: {
port: 3000,
allowedHosts: true,
host: "0.0.0.0"
},
});