Updating dependencies.

This commit is contained in:
John Livingston
2024-09-10 09:49:21 +02:00
parent c561851bb6
commit 4b5f83c45f
10 changed files with 1331 additions and 3507 deletions

View File

@ -324,7 +324,7 @@ async function enableProxyRoute (
target: 'http://localhost:' + prosodyProxyInfo.port + '/http-bind',
ignorePath: true
})
currentHttpBindProxy.on('error', (err, req, res) => {
currentHttpBindProxy.on('error', (err, req, res: any) => { // FIXME: remove the `any`.
// We must handle errors, otherwise Peertube server crashes!
logger.error(
'The http bind proxy got an error ' +
@ -346,7 +346,7 @@ async function enableProxyRoute (
ignorePath: true,
ws: true
})
currentWebsocketProxy.on('error', (err, req, res) => {
currentWebsocketProxy.on('error', (err, req, res: any) => { // FIXME: remove the `any`.
// We must handle errors, otherwise Peertube server crashes!
logger.error(
'The websocket proxy got an error ' +
@ -368,7 +368,7 @@ async function enableProxyRoute (
ignorePath: true,
ws: true
})
currentS2SWebsocketProxy.on('error', (err, req, res) => {
currentS2SWebsocketProxy.on('error', (err, req, res: any) => { // FIXME: remove the `any`.
// We must handle errors, otherwise Peertube server crashes!
logger.error(
'The s2s websocket proxy got an error ' +