mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
9 lines
243 B
TypeScript
9 lines
243 B
TypeScript
import { NextApiHandler } from 'next'
|
|
import RequestHandler from '@utils/RequestHandler'
|
|
|
|
const HelloWorld: NextApiHandler = RequestHandler().all(async (_req, res) => {
|
|
res.status(200).json({ happy: 'hacking' })
|
|
})
|
|
|
|
export default HelloWorld
|