authorgravatar for git@paperclover.netclover caruso <git@paperclover.net> 2025-07-10 00:48:39-07:00
committergravatar for git@paperclover.netclover caruso <git@paperclover.net> 2025-10-14 02:40:46-07:00
logf723b6b33082666d0db8475cc3171333b5326275
treeb6a72b8d1958c106ca408fa342aa295524bab748
parent881042bdfc7394daeb49e3f63b23f386b5e541ce
signature Commit is signed but in an unrecognized format.

tidy

Update run.js

3 files changed, 3 insertions(+), 4 deletions(-)

readme.md+2-2
......@@ -88,7 +88,7 @@ Deployment of the source of truth can be done with Docker Compose:
8888 container_name: backend
8989 build:
9090 # this uses loopback to hit the self-hosted git server
91 context: http://localhost:3000/clo/sitegen.git
91 context: http://127.0.0.1:3000/clo/sitegen.git
9292 dockerfile: src/source-of-truth.dockerfile
9393 environment:
9494 # configuration
......@@ -105,7 +105,7 @@ Deployment of the source of truth can be done with Docker Compose:
105105 - /mnt/storage1/clover/Published:/published
106106
107107Due to caching, one may need to manually purge images via
108`docker image rm ix-paperclover-backend -f` when an update is desired
108`docker image rm ix-clover-backend -f` when an update is desired
109109
110110TODO: deployment instructions for a web node
111111
run.js+1-1
......@@ -13,7 +13,7 @@ if (!zlib.zstdCompress) {
1313 : null;
1414
1515 globalThis.console.error(
16 `sitegen depends on a node.js-compatibile runtime\n` +
16 `sitegen depends on a node.js v24. your runtime is missing feature\n` +
1717 `this is node.js version ${process.version}${
1818 brand ? ` (${brand})` : ""
1919 }\n\n` +
src/source-of-truth.ts-1
......@@ -60,7 +60,6 @@ app.get("/file/*", async (c) => {
6060 ? path.join(derivedFileRoot, file.hash, derivedAsset)
6161 : path.join(rawFileRoot, file.path);
6262 let handle: { fd: number; refs: number } | null = null;
63 console.log("start", fullPath);
6463 try {
6564 handle = await fds.get(fullPath) ?? null;
6665 if (!handle) {