diff --git a/server/routers/api-router.js b/server/routers/api-router.js
index e29c6bebc..0da1fd705 100644
--- a/server/routers/api-router.js
+++ b/server/routers/api-router.js
@@ -20,6 +20,7 @@ router.get("/api/push/:pushToken", async (request, response) => {
try {
let pushToken = request.params.pushToken;
let msg = request.query.msg || "OK";
+ let ping = request.query.ping;
let monitor = await R.findOne("monitor", " push_token = ? AND active = 1 ", [
pushToken
@@ -34,9 +35,7 @@ router.get("/api/push/:pushToken", async (request, response) => {
bean.time = R.isoDateTime(dayjs.utc());
bean.status = UP;
bean.msg = msg;
-
- // TODO: HOW TO?
- //bean.ping
+ bean.ping = ping;
await R.store(bean);
diff --git a/src/components/CopyableInput.vue b/src/components/CopyableInput.vue
index d777f4a0e..1fe898028 100644
--- a/src/components/CopyableInput.vue
+++ b/src/components/CopyableInput.vue
@@ -1,5 +1,5 @@
-
+ Optional parameters: msg, ping
+