Bugfix/Add version API as public (#3297)

add version API as public
This commit is contained in:
Henry Heng 2024-10-02 19:34:42 +01:00 committed by GitHub
parent d8ab3cb891
commit 8c1f0bdbe9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -135,7 +135,8 @@ export class App {
'/api/v1/leads', '/api/v1/leads',
'/api/v1/get-upload-file', '/api/v1/get-upload-file',
'/api/v1/ip', '/api/v1/ip',
'/api/v1/ping' '/api/v1/ping',
'/api/v1/version'
] ]
const URL_CASE_INSENSITIVE_REGEX: RegExp = /\/api\/v1\//i const URL_CASE_INSENSITIVE_REGEX: RegExp = /\/api\/v1\//i
const URL_CASE_SENSITIVE_REGEX: RegExp = /\/api\/v1\// const URL_CASE_SENSITIVE_REGEX: RegExp = /\/api\/v1\//