diff --git a/src/gateway/public-gateway.mjs b/src/gateway/public-gateway.mjs index 7c124ad..4609acc 100644 --- a/src/gateway/public-gateway.mjs +++ b/src/gateway/public-gateway.mjs @@ -1238,14 +1238,30 @@ const server = http.createServer(async (req, res) => { const entry = (await getIndex()).get(name); if (!entry) { res.setHeader("content-type", "application/json"); res.writeHead(404); res.end(JSON.stringify({ error: `"${name}" not registered` })); return; } const prefix = `bns/${name}/`; + // GET ...?src=live — a READ-ONLY view of wherever the name's on-chain + // records say the site lives right now: a CLI-published bucket such as + // bns/