print cwd in jwt

This commit is contained in:
Rory&
2025-12-27 06:51:58 +01:00
parent 9e6b8e3351
commit e98a5b1a02
+1 -1
View File
@@ -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",
});