diff --git a/pages/api/ip.ts b/pages/api/ip.ts index ea826d3..c58f8c9 100644 --- a/pages/api/ip.ts +++ b/pages/api/ip.ts @@ -7,8 +7,8 @@ export default async function ip(req: NextApiRequest, res: NextApiResponse){ let city = req.headers['cf-ipcity']; res.status(200).json({ ip: ip, - continent: continent, + city: city, country: country, - city: city + continent: continent }); } \ No newline at end of file