feat: Update Dockerfile and server configuration for improved health checks and error handling
This commit is contained in:
7
server/paths.js
Normal file
7
server/paths.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import { resolve } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
/** Where the catalog, the week table and parsed documents are cached; tests use a temporary one. */
|
||||
export const DATA = process.env.PSU_DATA_DIR
|
||||
? resolve(process.env.PSU_DATA_DIR) + "/"
|
||||
: fileURLToPath(new URL("../.data/", import.meta.url));
|
||||
Reference in New Issue
Block a user