From 8c1f0bdbe997416e1ae956847ed366725029e282 Mon Sep 17 00:00:00 2001 From: Henry Heng Date: Wed, 2 Oct 2024 19:34:42 +0100 Subject: [PATCH] Bugfix/Add version API as public (#3297) add version API as public --- packages/server/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/server/src/index.ts b/packages/server/src/index.ts index b14c83cf..5285e5d2 100644 --- a/packages/server/src/index.ts +++ b/packages/server/src/index.ts @@ -135,7 +135,8 @@ export class App { '/api/v1/leads', '/api/v1/get-upload-file', '/api/v1/ip', - '/api/v1/ping' + '/api/v1/ping', + '/api/v1/version' ] const URL_CASE_INSENSITIVE_REGEX: RegExp = /\/api\/v1\//i const URL_CASE_SENSITIVE_REGEX: RegExp = /\/api\/v1\//