chore: resolve conflicts

This commit is contained in:
Kamil Myśliwiec
2025-01-09 11:54:46 +01:00
8 changed files with 30 additions and 39 deletions

View File

@@ -38,10 +38,12 @@ describe.skip('Fastify Cors', () => {
);
let requestId = 0;
const configDelegation = function (req, cb) {
const config = configs[requestId];
requestId++;
cb(null, config);
const configDelegation = {
delegator: function (req, cb) {
const config = configs[requestId];
requestId++;
cb(null, config);
},
};
app.enableCors(configDelegation);