From 532e4d695b67e991cd4fa2928f5c5873e4b78246 Mon Sep 17 00:00:00 2001 From: Csaky Date: Thu, 14 Sep 2023 09:52:22 -0700 Subject: [PATCH] Fix regex to exclude jsonparse create and update object --- app/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.js b/app/app.js index 3d11775c..b03d818b 100644 --- a/app/app.js +++ b/app/app.js @@ -38,7 +38,7 @@ app.use(cors(DEFAULTCORS)); app.use(jsonParser.unless({ path: [{ // Matches on only the createObject and updateObject endpoints - url: /.*\/object(\/[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})?(\/)?$/i, + url: /.*(?