From cac4dfe7478e7339d90f3afd0d6e56542b1adade Mon Sep 17 00:00:00 2001 From: euanmillar Date: Fri, 10 Nov 2023 10:33:28 +0000 Subject: [PATCH] Fixes to the release --- src/api/application/application-config-default.ts | 3 ++- src/index.ts | 11 ----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/api/application/application-config-default.ts b/src/api/application/application-config-default.ts index d7bcd2a2..62448458 100644 --- a/src/api/application/application-config-default.ts +++ b/src/api/application/application-config-default.ts @@ -46,7 +46,8 @@ export const defaultApplicationConfig = { DECLARATION_AUDIT_LOCATIONS: 'DISTRICT', USER_NOTIFICATION_DELIVERY_METHOD: 'email', // or 'sms', or '' ... You can use 'sms' for WhatsApp INFORMANT_NOTIFICATION_DELIVERY_METHOD: 'email', // or 'sms', or '' ... You can use 'sms' for WhatsApp - SIGNATURE_REQUIRED_FOR_ROLES: ['LOCAL_REGISTRAR', 'NATIONAL_REGISTRAR'] + SIGNATURE_REQUIRED_FOR_ROLES: ['LOCAL_REGISTRAR', 'NATIONAL_REGISTRAR'], + EXTERNAL_VALIDATION_WORKQUEUE: false } export const COUNTRY_WIDE_CRUDE_DEATH_RATE = 10 diff --git a/src/index.ts b/src/index.ts index bcbc76ed..878da563 100644 --- a/src/index.ts +++ b/src/index.ts @@ -348,17 +348,6 @@ export async function createServer() { } }) - server.route({ - method: 'GET', - path: '/handlebars.js', - handler: handlebarsHandler, - options: { - auth: false, - tags: ['api'], - description: 'Serves handlebars as JS' - } - }) - server.route({ method: 'GET', path: '/content/{application}',