diff --git a/backend/src/utils.mjs b/backend/src/utils.mjs index 151d772..37545ec 100644 --- a/backend/src/utils.mjs +++ b/backend/src/utils.mjs @@ -13,7 +13,7 @@ const db_path = process.env.DB || config.config.db_path || "ucs.db"; const cors = (function() { let origins = new Set(); for (const site in config.config.sites) { - config.sites[site].cors.forEach(origin => {origins.add(origin) }); + config.config.sites[site].cors.forEach(origin => {origins.add(origin) }); } return Array.from(origins); })();