From ff5e207f944f2548299fc9952c50105ae1843de3 Mon Sep 17 00:00:00 2001 From: clover caruso Date: Thu, 10 Jul 2025 00:48:39 -0700 Subject: [PATCH] tidy Update run.js --- readme.md | 4 ++-- run.js | 2 +- src/source-of-truth.ts | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 4edadb2..e255c25 100644 --- a/readme.md +++ b/readme.md @@ -88,7 +88,7 @@ Deployment of the source of truth can be done with Docker Compose: container_name: backend build: # this uses loopback to hit the self-hosted git server - context: http://localhost:3000/clo/sitegen.git + context: http://127.0.0.1:3000/clo/sitegen.git dockerfile: src/source-of-truth.dockerfile environment: # configuration @@ -105,7 +105,7 @@ Deployment of the source of truth can be done with Docker Compose: - /mnt/storage1/clover/Published:/published Due to caching, one may need to manually purge images via -`docker image rm ix-paperclover-backend -f` when an update is desired +`docker image rm ix-clover-backend -f` when an update is desired TODO: deployment instructions for a web node diff --git a/run.js b/run.js index a8e6b1e..a2ac3b0 100644 --- a/run.js +++ b/run.js @@ -13,7 +13,7 @@ if (!zlib.zstdCompress) { : null; globalThis.console.error( - `sitegen depends on a node.js-compatibile runtime\n` + + `sitegen depends on a node.js v24. your runtime is missing feature\n` + `this is node.js version ${process.version}${ brand ? ` (${brand})` : "" }\n\n` + diff --git a/src/source-of-truth.ts b/src/source-of-truth.ts index 8d3d59b..9be639f 100644 --- a/src/source-of-truth.ts +++ b/src/source-of-truth.ts @@ -60,7 +60,6 @@ app.get("/file/*", async (c) => { ? path.join(derivedFileRoot, file.hash, derivedAsset) : path.join(rawFileRoot, file.path); let handle: { fd: number; refs: number } | null = null; - console.log("start", fullPath); try { handle = await fds.get(fullPath) ?? null; if (!handle) {