Browse Source

本地启动访问地址

sunny 5 tháng trước cách đây
mục cha
commit
d9e9fbd305
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      vue.config.js

+ 2 - 1
vue.config.js

@@ -15,7 +15,8 @@ const cdn = {
 const timestamp = new Date().getTime();
 module.exports = defineConfig({
   devServer:{
-    host: '192.168.100.104',
+    host: 'localhost',
+    // host: '192.168.100.104',
     open:true
   },
   transpileDependencies: true,