Merge branch 'main' into fix-block-not-working-in-streaming

(((Updating local branch)))
This commit is contained in:
P. Reis
2024-04-30 21:23:44 -03:00
24 changed files with 46 additions and 38 deletions

View File

@@ -1,6 +1,7 @@
import { HTTPException } from 'hono';
import { getPublicKey, nip19 } from 'nostr-tools';
import { type AppMiddleware } from '@/app.ts';
import { getPublicKey, nip19 } from '@/deps.ts';
/** We only accept "Bearer" type. */
const BEARER_REGEX = new RegExp(`^Bearer (${nip19.BECH32_REGEX.source})$`);