浏览代码

set LOGSEQ_APP_SERVER_URL to use localhost

Tienson Qin 4 月之前
父节点
当前提交
c5f864037a
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      gulpfile.js

+ 1 - 2
gulpfile.js

@@ -157,8 +157,7 @@ const common = {
   async runCapWithLocalDevServerEntry (cb) {
     const mode = process.env.PLATFORM || 'ios'
 
-    const IP = ip.address()
-    const LOGSEQ_APP_SERVER_URL = `http://${IP}:3002`
+    const LOGSEQ_APP_SERVER_URL = `http://localhost:3002`
 
     if (typeof global.fetch === 'function') {
       try {