tidy
Update run.js
This commit is contained in:
parent
f4e9a237ce
commit
ff5e207f94
3 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
2
run.js
2
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` +
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue