소스 검색

本地启动访问地址

sunny 5 달 전
부모
커밋
d9e9fbd305
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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,