switched to f** ESS modules

This commit is contained in:
STEINNI
2025-09-14 21:06:13 +00:00
parent f4ac7df4a7
commit b4cd02add5
16 changed files with 63 additions and 49 deletions
+6 -4
View File
@@ -1,8 +1,10 @@
const AccesRights = require('./accesRights')
const crypto = require('crypto')
const WssConnexion = require('./wssConnexion')
import {AccesRights} from './accesRights.js'
import crypto from 'crypto'
import {WssConnexion} from './wssConnexion.js'
import session from 'express-session'
import connectMySQL from 'express-mysql-session'
module.exports = class wssServer {
export class wssServer {
constructor(configHelper, WSSServer, REDIScnx, debug) {
this.debug = debug