Add /api/v1/version to PUBLIC_ROUTES
This commit is contained in:
@@ -307,6 +307,7 @@ module.exports = function configureMiddleware(app, {
|
|||||||
{ path: '/api/v1/system/update-notify', exact: true, method: 'POST' },
|
{ path: '/api/v1/system/update-notify', exact: true, method: 'POST' },
|
||||||
{ path: '/api/v1/monitoring/stats', exact: true, method: 'GET' },
|
{ path: '/api/v1/monitoring/stats', exact: true, method: 'GET' },
|
||||||
{ path: '/api/v1/health-checks/status', exact: true, method: 'GET' },
|
{ path: '/api/v1/health-checks/status', exact: true, method: 'GET' },
|
||||||
|
{ path: '/api/v1/version', exact: true, method: 'GET' },
|
||||||
];
|
];
|
||||||
|
|
||||||
function isPublicRoute(req) {
|
function isPublicRoute(req) {
|
||||||
|
|||||||
Reference in New Issue
Block a user