diff --git a/backend/src/server.ts b/backend/src/server.ts index ce0b2ea..93a6d58 100644 --- a/backend/src/server.ts +++ b/backend/src/server.ts @@ -18,7 +18,7 @@ import { config } from './lib/config.js'; import { jwtVerify } from 'jose'; import type { JwtPayload } from './lib/request-context.js'; -const jwtSecret = new TextEncoder().encode(process.env.JWT_SECRET || ''); +const jwtSecret = new TextEncoder().encode(config.JWT_SECRET); await initCosmosIfNeeded();