mirror of
https://git.qoto.org/fedipage/fedipage.git
synced 2024-11-17 07:48:21 +01:00
7 lines
251 B
TypeScript
7 lines
251 B
TypeScript
import { VercelRequest } from '@vercel/node';
|
|
import parser from '../../http-signature/index.js';
|
|
|
|
export function parseSignature(request: VercelRequest) {
|
|
const { url, method, headers } = request;
|
|
return parser.parse({ url, method, headers });
|
|
}
|