server/index.js
Function default
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function (cfg, storageProvider) {
config.setProvider(cfg);
const storage = storageProvider
? new tools.WebtaskStorageContext(storageProvider, { force: 1 })