pinokiod 3.8.46 → 3.8.48
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/kernel/bin/caddy.js +3 -1
- package/package.json +1 -1
package/kernel/bin/caddy.js
CHANGED
|
@@ -10,10 +10,12 @@ class Caddy {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
async running() {
|
|
13
|
+
console.log("caddy running check")
|
|
13
14
|
try {
|
|
14
|
-
let response = await axios.get('http://
|
|
15
|
+
let response = await axios.get('http://127.0.0.1:2019/config/')
|
|
15
16
|
return true
|
|
16
17
|
} catch (e) {
|
|
18
|
+
console.log(e)
|
|
17
19
|
return false
|
|
18
20
|
}
|
|
19
21
|
}
|