15 lines
374 B
TypeScript
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" },
|
|
});
|
|
}
|