Files
personalsite/app/public.pgp/route.ts
2026-04-03 16:20:51 +03:00

15 lines
374 B
TypeScript

import { NextResponse } from "next/server";
export async function GET() {
// Replace with your actual PGP public key
const pgpKey = `-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGX... (replace with your actual PGP public key)
-----END PGP PUBLIC KEY BLOCK-----
`;
return new NextResponse(pgpKey, {
headers: { "Content-Type": "text/plain; charset=utf-8" },
});
}