diff --git a/proof-of-work/middleware.ts b/proof-of-work/middleware.ts index 87fa59c..9d8f558 100644 --- a/proof-of-work/middleware.ts +++ b/proof-of-work/middleware.ts @@ -1,76 +1,49 @@ import { NextRequest, NextResponse } from 'next/server'; /** - * Per-request CSP nonce + auth gating. + * Auth gating only. * - * Nonces drop the previous `'unsafe-inline'` from `script-src`. Next - * 13.4+ automatically picks up the nonce from the `x-nonce` request - * header and stamps it on the bootstrap inline scripts it emits, so - * the in-app code (which doesn't itself emit inline `