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 +1 -1
- package/server/index.js +4 -2
- package/server/views/app.ejs +2 -0
package/package.json
CHANGED
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
|
-
|
|
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() : ''
|
package/server/views/app.ejs
CHANGED
|
@@ -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 {
|