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:...@@ -88,7 +88,7 @@ Deployment of the source of truth can be done with Docker Compose:
88 container_name: backend88 container_name: backend
89 build:89 build:
90 # this uses loopback to hit the self-hosted git server90 # this uses loopback to hit the self-hosted git server
91 context: http://localhost:3000/clo/sitegen.git91 context: http://127.0.0.1:3000/clo/sitegen.git
92 dockerfile: src/source-of-truth.dockerfile92 dockerfile: src/source-of-truth.dockerfile
93 environment:93 environment:
94 # configuration94 # configuration
...@@ -105,7 +105,7 @@ Deployment of the source of truth can be done with Docker Compose:...@@ -105,7 +105,7 @@ Deployment of the source of truth can be done with Docker Compose:
105 - /mnt/storage1/clover/Published:/published105 - /mnt/storage1/clover/Published:/published
106106
107Due to caching, one may need to manually purge images via107Due to caching, one may need to manually purge images via
108`docker image rm ix-paperclover-backend -f` when an update is desired108`docker image rm ix-clover-backend -f` when an update is desired
109109
110TODO: deployment instructions for a web node110TODO: deployment instructions for a web node
111111
run.js+1-1
...@@ -13,7 +13,7 @@ if (!zlib.zstdCompress) {...@@ -13,7 +13,7 @@ if (!zlib.zstdCompress) {
13 : null;13 : null;
1414
15 globalThis.console.error(15 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` +
17 `this is node.js version ${process.version}${17 `this is node.js version ${process.version}${
18 brand ? ` (${brand})` : ""18 brand ? ` (${brand})` : ""
19 }\n\n` +19 }\n\n` +
src/source-of-truth.ts-1
...@@ -60,7 +60,6 @@ app.get("/file/*", async (c) => {...@@ -60,7 +60,6 @@ app.get("/file/*", async (c) => {
60 ? path.join(derivedFileRoot, file.hash, derivedAsset)60 ? path.join(derivedFileRoot, file.hash, derivedAsset)
61 : path.join(rawFileRoot, file.path);61 : path.join(rawFileRoot, file.path);
62 let handle: { fd: number; refs: number } | null = null;62 let handle: { fd: number; refs: number } | null = null;
63 console.log("start", fullPath);
64 try {63 try {
65 handle = await fds.get(fullPath) ?? null;64 handle = await fds.get(fullPath) ?? null;
66 if (!handle) {65 if (!handle) {