1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-06-30 23:21:29 -04:00

add support for per-page layouts

This commit is contained in:
2022-02-04 16:14:42 -05:00
parent 0127004e3a
commit 41705f3be4
7 changed files with 139 additions and 134 deletions

View File

@ -13,7 +13,7 @@ Sentry.init({
const handler = async (req: NextApiRequest, res: NextApiResponse) => {
try {
if (req.method !== "GET") {
return res.status(405).send(""); // 405 Method Not Allowed
return res.status(405).end(); // 405 Method Not Allowed
}
const client = new faunadb.Client({