v3: added opengraph support to the app, wrote README instructions incl. a Docker image
This commit is contained in:
@@ -8,10 +8,10 @@ import {
|
||||
isInvitePayload,
|
||||
} from "../model/interfaces.ts";
|
||||
|
||||
const jwtSecret = Deno.env.get("JWT_SECRET");
|
||||
const jwtSecret = Deno.env.get("GERBEUR_JWT_SECRET");
|
||||
if (!jwtSecret) {
|
||||
throw new Error(
|
||||
"JWT_SECRET environment variable is required. Generate one with: openssl rand -hex 32",
|
||||
"GERBEUR_JWT_SECRET environment variable is required. Generate one with: openssl rand -hex 32",
|
||||
);
|
||||
}
|
||||
const JWT_KEY = new TextEncoder().encode(jwtSecret);
|
||||
|
||||
Reference in New Issue
Block a user