We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 170cbc5 commit 81b85c5Copy full SHA for 81b85c5
app.js
@@ -50,6 +50,9 @@ const { getClient } = require("./src/common/prisma");
50
// setup express app
51
const app = express();
52
53
+// Use extended query parsing so bracket syntax like types[]=F2F is handled as arrays
54
+app.set("query parser", "extended");
55
+
56
// Disable POST, PUT, PATCH, DELETE operations if READONLY is set to true
57
app.use((req, res, next) => {
58
if (config.READONLY === true && ["POST", "PUT", "PATCH", "DELETE"].includes(req.method)) {
0 commit comments