added a comment.

This commit is contained in:
Dooho Yi 2022-01-13 01:55:25 +09:00
parent b3ad8d3008
commit f1e12f0042

View file

@ -59,6 +59,8 @@ fastify.get("/", function (request, reply) {
reply.view("/src/pages/entry.hbs", {}); reply.view("/src/pages/entry.hbs", {});
}); });
}); });
// --> https://stackoverflow.com/a/40899275
// all the regex doesn't work... last resort.
//'post' //'post'
fastify.post("/", async function (request, reply) { fastify.post("/", async function (request, reply) {