()
| 170 | } |
| 171 | // 如果调用这个方法来获取缓存, 且标记为`非调试模式` |
| 172 | const getcache = () => { |
| 173 | console.log(`[ERROR] 调试模式: 正在使用缓存的页面!`) |
| 174 | boxdata.syscfgs.isDebugMode = false |
| 175 | return $.getjson($.KEY_web_cache).cache |
| 176 | } |
| 177 | await $.http.get($.web).then( |
| 178 | (resp) => { |
| 179 | if (/<title>BoxJs<\/title>/.test(resp.body)) { |
no test coverage detected
searching dependent graphs…