mirror of
https://gitlab.com/serenetia/endpild-laman.git
synced 2025-03-16 06:45:54 +08:00
14 lines
384 B
TypeScript
14 lines
384 B
TypeScript
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
|
|
import type { NextApiRequest, NextApiResponse } from 'next';
|
|
|
|
type Data = {
|
|
message: string
|
|
}
|
|
|
|
export default function handler(
|
|
req: NextApiRequest,
|
|
res: NextApiResponse<Data>
|
|
) {
|
|
res.status(200).json({ message: 'Welcome to Talos II. It\'s time to make your choice, Endministrator.' });
|
|
};
|