SPB Git

spb/rareindex

Public
267 B · 4 lines typescript
1/** Print the internal token shared between web and api: scripts/with-env.sh pnpm tsx scripts/internal-token.ts */2import { createHmac } from 'node:crypto';3console.log(createHmac('sha256', process.env.SESSION_SECRET ?? 'dev-only').update('internal').digest('hex'));4
Files · f83c5da5cb0efde9d75cc62be156c52ca2afe623
Menu

Theme