mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Fix admin socket metadata handling and footer HTML rendering in admin-tools
This commit is contained in:
@@ -69,15 +69,15 @@ const AdminController = {
|
||||
let url
|
||||
const openSockets = {}
|
||||
for (url in http.globalAgent.sockets) {
|
||||
openSockets[`http://${url}`] = http.globalAgent.sockets[url].map(
|
||||
socket => socket._httpMessage.path
|
||||
)
|
||||
openSockets[`http://${url}`] = http.globalAgent.sockets[url].map(socket => {
|
||||
return socket._httpMessage?.path || '(unknown request)'
|
||||
})
|
||||
}
|
||||
|
||||
for (url in https.globalAgent.sockets) {
|
||||
openSockets[`https://${url}`] = https.globalAgent.sockets[url].map(
|
||||
socket => socket._httpMessage.path
|
||||
)
|
||||
openSockets[`https://${url}`] = https.globalAgent.sockets[url].map(socket => {
|
||||
return socket._httpMessage?.path || '(unknown request)'
|
||||
})
|
||||
}
|
||||
|
||||
const systemMessages =
|
||||
|
||||
Reference in New Issue
Block a user