From 3ab2cfd24ae44413e6ba8aaf51c2be90458d1403 Mon Sep 17 00:00:00 2001 From: Tameem Bin Haider Date: Tue, 9 Apr 2024 09:59:07 +0600 Subject: [PATCH] fix: add back missing handlebars route --- src/index.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/index.ts b/src/index.ts index a62283d2a..709b1f1f2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -317,6 +317,18 @@ export async function createServer() { } }) + server.route({ + method: 'GET', + path: '/handlebars.js', + handler: handlebarsHandler, + options: { + auth: false, + tags: ['api'], + description: + 'Serves custom handlebar helper functions as JS to be used in certificates' + } + }) + server.route({ method: 'GET', path: '/validators.js',