Skip to content

Commit

Permalink
UPDATE: re-added targetCount to status.json (inadvertantly deleted)
Browse files Browse the repository at this point in the history
  • Loading branch information
fileformat committed Dec 23, 2023
1 parent 567dfdc commit 0b8c8f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server.ts
Expand Up @@ -109,7 +109,8 @@ rootRouter.get('/status.json', async (ctx) => {
retVal["lastmod"] = process.env.LASTMOD || null;
retVal["commit"] = process.env.COMMIT || null;
retVal["tech"] = "NodeJS " + process.version;

retVal["targetcount"] = sites.getAll().length;

sendJSON(ctx, retVal);
});

Expand Down

0 comments on commit 0b8c8f8

Please sign in to comment.