mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-12 00:15:48 +01:00
⬆️ Updated: Next.js 12.1.6 -> 12.2.0
This commit is contained in:
@@ -14,7 +14,7 @@ function Post(req: NextApiRequest, res: NextApiResponse) {
|
||||
}
|
||||
|
||||
export default async (req: NextApiRequest, res: NextApiResponse) => {
|
||||
// Filter out if the reuqest is a POST or a GET
|
||||
// Filter out if the request is a POST or a GET
|
||||
if (req.method === 'POST') {
|
||||
return Post(req, res);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user