try out script tag

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-02-05 22:09:07 +01:00
parent ceee19bc36
commit fb18e49078
5 changed files with 14 additions and 10 deletions

View File

@@ -38,7 +38,7 @@ const startServer = async () => {
});
});
fastify.register(eventRouter, { prefix: '/api/event' });
fastify.register(eventRouter, { prefix: '/event' });
fastify.setErrorHandler((error, request, reply) => {
fastify.log.error(error);
});