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 · 928c8dfd3710b817fe8e1e510fc295f59b7ddb9b
Menu

Theme