wenhongquan 3 năm trước cách đây
mục cha
commit
1c5d3b2ad3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      vite.config.ts

+ 1 - 1
vite.config.ts

@@ -17,7 +17,7 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => {
     root: process.cwd(),
     base: "./",
     server: {
-      host: "localhost",
+      host: "0.0.0.0",
       open: true,
       port: 8000,
       // strictPort: true,