diff --git a/CoCreate.config.js b/CoCreate.config.js index 3308a83..011b70f 100644 --- a/CoCreate.config.js +++ b/CoCreate.config.js @@ -170,6 +170,10 @@ module.exports = { 'path': '../CoCreate-components/CoCreate-render', 'repo': 'github.com/CoCreate-app/CoCreate-render.git' }, + { + 'path': '../CoCreate-components/CoCreate-sitemap', + 'repo': 'github.com/CoCreate-app/CoCreate-sitemap.git' + }, { 'path': '../CoCreate-components/CoCreate-socket-client', 'repo': 'github.com/CoCreate-app/CoCreate-socket-client.git' diff --git a/package.json b/package.json index e679073..96b7a01 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "@cocreate/organizations": "^1.27.4", "@cocreate/server": "^1.1.6", "@cocreate/server-side-render": "^1.10.3", + "@cocreate/sitemap": "^1.0.0", "@cocreate/socket-server": "^1.29.3", "@cocreate/unique": "^1.19.6", "@cocreate/url-uploader": "^1.0.0", diff --git a/src/modules.js b/src/modules.js index ae59810..8cc5ebb 100644 --- a/src/modules.js +++ b/src/modules.js @@ -5,6 +5,7 @@ const metrics = require('@cocreate/metrics') const usage = require('@cocreate/usage') const organizations = require('@cocreate/organizations'); const serverSideRender = require('@cocreate/server-side-render'); +const sitemap = require('@cocreate/sitemap'); const unique = require('@cocreate/unique'); const users = require('@cocreate/users'); const authenticate = require('@cocreate/authenticate') @@ -50,7 +51,7 @@ module.exports.init = async function (cluster, server) { wsManager.authenticate = new authenticate(crud) wsManager.authorize = new authorize(crud) - new lazyLoader(server, crud, new fileServer(new serverSideRender(crud))); + new lazyLoader(server, crud, new fileServer(new serverSideRender(crud), new sitemap(crud))); new metrics(crud); new notification(crud);