@make-u-free/migi 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/tls.js +2 -2
package/package.json
CHANGED
package/src/tls.js
CHANGED
|
@@ -45,9 +45,9 @@ if (caPath) {
|
|
|
45
45
|
// ③ https.Agent(node-fetch 系フォールバック)
|
|
46
46
|
_httpsAgent = new https.Agent({ ca: caCert })
|
|
47
47
|
|
|
48
|
-
console.
|
|
48
|
+
console.log(` [TLS] CA loaded: ${caPath}`)
|
|
49
49
|
} else {
|
|
50
|
-
console.
|
|
50
|
+
console.log(' [TLS] CA未設定 (社内エラー時は ~/.migi/zscaler-ca.pem を配置)')
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
export const httpsAgent = _httpsAgent
|