fix: remove debug log for public API endpoint check in CORS middleware
Deploy Application / deploy (push) Successful in 37s Details

This commit is contained in:
faisolavolut 2025-11-11 10:34:02 +07:00
parent 93d710af84
commit a82c732811
1 changed files with 0 additions and 1 deletions

View File

@ -30,7 +30,6 @@ app.use((req, res, next) => {
req.path.match(/^\/[^\/]+\/transfer-va\/(inquiry|payment)$/) || req.path.match(/^\/[^\/]+\/transfer-va\/(inquiry|payment)$/) ||
req.path.match(/^\/[^\/]+\/access-token\/b2b$/) || req.path.match(/^\/[^\/]+\/access-token\/b2b$/) ||
req.path.match(/^\/[^\/]+\/utilities\/signature-service$/); req.path.match(/^\/[^\/]+\/utilities\/signature-service$/);
console.log({ isPublicAPIEndpoint });
if (isPublicAPIEndpoint) { if (isPublicAPIEndpoint) {
// Allow any origin for public API endpoints // Allow any origin for public API endpoints
const publicCorsOptions = { const publicCorsOptions = {