src/providers/core.js
Function initSocketRoutes
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initSocketRoutes() {
const {app} = this.core;
app.ws('/', (ws, req) => {
ws.upgradeReq = ws.upgradeReq || req;
Function initService
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initService() {
const {app} = this.core;
const {requireAllGroups} = this.core.configuration.auth;
const middleware = {