pinokiod 5.3.15 → 5.3.16

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "5.3.15",
3
+ "version": "5.3.16",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -4758,12 +4758,14 @@ class Server {
4758
4758
  this.app.post("/checkpoints/registry", ex(async (req, res) => {
4759
4759
  res.status(404).json({ ok: false, error: "Not found" })
4760
4760
  }))
4761
- this.app.get("/registry/ping.png", ex(async (_req, res) => {
4761
+ const registryPingHandler = ex(async (_req, res) => {
4762
4762
  res.setHeader('Content-Type', 'image/png')
4763
4763
  res.setHeader('Cache-Control', 'no-store')
4764
4764
  res.setHeader('Content-Length', String(REGISTRY_PING_PNG.length))
4765
4765
  res.end(REGISTRY_PING_PNG)
4766
- }))
4766
+ })
4767
+ this.app.get("/registry/healthz.png", registryPingHandler)
4768
+ this.app.get("/registry/ping.png", registryPingHandler)
4767
4769
 
4768
4770
  this.app.get("/registry/checkin", ex(async (req, res) => {
4769
4771
  const repoUrl = typeof req.query.repo === 'string' ? req.query.repo.trim() : ''
@@ -9722,6 +9722,8 @@ document.addEventListener("DOMContentLoaded", () => {
9722
9722
  return
9723
9723
  }
9724
9724
  footer.classList.add("hidden")
9725
+ // Temporarily keep the snapshot footer hidden while we focus on registry check-ins.
9726
+ return
9725
9727
  const dismissStorageKey = `pinokio.snapshot-footer.dismissed:${workspace}`
9726
9728
  const getDismissedState = () => {
9727
9729
  try {