|
@@ -81,7 +81,6 @@ class Crowi {
|
|
|
this.mailService = null;
|
|
this.mailService = null;
|
|
|
this.passportService = null;
|
|
this.passportService = null;
|
|
|
this.globalNotificationService = null;
|
|
this.globalNotificationService = null;
|
|
|
- this.xssService = null;
|
|
|
|
|
this.aclService = null;
|
|
this.aclService = null;
|
|
|
this.appService = null;
|
|
this.appService = null;
|
|
|
this.fileUploadService = null;
|
|
this.fileUploadService = null;
|
|
@@ -133,12 +132,11 @@ Crowi.prototype.init = async function() {
|
|
|
await this.setupS2sMessagingService();
|
|
await this.setupS2sMessagingService();
|
|
|
await this.setupSocketIoService();
|
|
await this.setupSocketIoService();
|
|
|
|
|
|
|
|
- // customizeService depends on AppService and XssService
|
|
|
|
|
|
|
+ // customizeService depends on AppService
|
|
|
// passportService depends on appService
|
|
// passportService depends on appService
|
|
|
// export and import depends on setUpGrowiBridge
|
|
// export and import depends on setUpGrowiBridge
|
|
|
await Promise.all([
|
|
await Promise.all([
|
|
|
this.setUpApp(),
|
|
this.setUpApp(),
|
|
|
- this.setUpXss(),
|
|
|
|
|
this.setUpGrowiBridge(),
|
|
this.setUpGrowiBridge(),
|
|
|
]);
|
|
]);
|
|
|
|
|
|
|
@@ -597,16 +595,6 @@ Crowi.prototype.setUpUserNotification = async function() {
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-/**
|
|
|
|
|
- * setup XssService
|
|
|
|
|
- */
|
|
|
|
|
-Crowi.prototype.setUpXss = async function() {
|
|
|
|
|
- const XssService = require('../service/xss');
|
|
|
|
|
- if (this.xssService == null) {
|
|
|
|
|
- this.xssService = new XssService(this.configManager);
|
|
|
|
|
- }
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* setup AclService
|
|
* setup AclService
|
|
|
*/
|
|
*/
|