12 lines
277 B
TypeScript
Raw Normal View History

2023-07-16 23:42:19 +08:00
import { NewsletterAPI } from 'pliny/newsletter'
import siteMetadata from '@/data/siteMetadata'
2024-10-31 22:49:51 +08:00
export const dynamic = 'force-static'
2023-07-16 23:42:19 +08:00
const handler = NewsletterAPI({
// @ts-ignore
provider: siteMetadata.newsletter.provider,
})
export { handler as GET, handler as POST }