1
0
charlie 3 жил өмнө
parent
commit
fd92a53940
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      gulpfile.js

+ 1 - 1
gulpfile.js

@@ -92,7 +92,7 @@ const common = {
     const IP = ip.address()
     const LOGSEQ_APP_SERVER_URL = `http://${IP}:3001`
 
-    if (typeof global.fetch != null) {
+    if (typeof global.fetch === 'function') {
       try {
         await fetch(LOGSEQ_APP_SERVER_URL)
       } catch (e) {