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',