Skip to content

Commit a0943c7

Browse files
authored
fix: bug (#30)
1 parent be8d746 commit a0943c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Framework/vue/v3.4.29/project/vite.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ export default defineConfig({
1010
],
1111
server: {
1212
host: "0.0.0.0",
13-
port: "3000"
13+
port: "3000",
14+
allowedHosts: true
1415
},
1516
preview: {
1617
host: "0.0.0.0",

0 commit comments

Comments
 (0)