fix:添加allowedHosts
This commit is contained in:
@@ -7,5 +7,7 @@ export default defineConfig({
|
||||
plugins: [tailwindcss(), react()],
|
||||
server: {
|
||||
port: 3000,
|
||||
allowedHosts: true,
|
||||
host: "0.0.0.0"
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user