mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2026-04-29 03:37:38 +02:00
p2p fixes
This commit is contained in:
@@ -49,7 +49,9 @@ function setup(data: SubmoduleData): void {
|
||||
|
||||
const publicDir = publicdirs[0]
|
||||
const uloadFiles = publicDir + 'chatFiles'
|
||||
logger.Log(`Starting Socket.io Server on ${httpsServer ? 'https' : 'http'}`)
|
||||
logger.Log(
|
||||
`Chat: Starting Socket.io Server on ${httpsServer ? 'https' : 'http'}`
|
||||
)
|
||||
// https://socket.io/docs/v4/handling-cors/#Configuration
|
||||
const io = new socket(httpsServer || httpServer, {
|
||||
cors: {
|
||||
|
||||
Reference in New Issue
Block a user