summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-27 06:51:58 +0100
committerRory& <root@rory.gay>2025-12-27 06:51:58 +0100
commite98a5b1a028f3a73c2186ba809ccad1dfb1c66d8 (patch)
treec19aead0a469e386fd9fea7c6a35511886d6b447
parentLog some paths (diff)
downloadserver-ts-e98a5b1a028f3a73c2186ba809ccad1dfb1c66d8.tar.xz
print cwd in jwt
-rw-r--r--src/util/util/Token.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/util/Token.ts b/src/util/util/Token.ts

index b615f5bb..ba5d427d 100644 --- a/src/util/util/Token.ts +++ b/src/util/util/Token.ts
@@ -227,7 +227,7 @@ export async function loadOrGenerateKeypair() { privateKey = crypto.createPrivateKey(loadedPrivateKey); publicKey = crypto.createPublicKey(loadedPublicKey); } else { - console.log("[JWT] Generating new keypair:", path.resolve("jwt.key")); + console.log("[JWT] Generating new keypair:", path.resolve("jwt.key"), "- PWD:", process.cwd()); const res = crypto.generateKeyPairSync("ec", { namedCurve: "secp521r1", });