fix: remove debug log for public API endpoint check in CORS middleware
Deploy Application / deploy (push) Successful in 37s
Details
Deploy Application / deploy (push) Successful in 37s
Details
This commit is contained in:
parent
93d710af84
commit
a82c732811
|
|
@ -30,7 +30,6 @@ app.use((req, res, next) => {
|
|||
req.path.match(/^\/[^\/]+\/transfer-va\/(inquiry|payment)$/) ||
|
||||
req.path.match(/^\/[^\/]+\/access-token\/b2b$/) ||
|
||||
req.path.match(/^\/[^\/]+\/utilities\/signature-service$/);
|
||||
console.log({ isPublicAPIEndpoint });
|
||||
if (isPublicAPIEndpoint) {
|
||||
// Allow any origin for public API endpoints
|
||||
const publicCorsOptions = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue