mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-13 01:26:41 +00:00
fix: instances not staying active for realtime events
This commit is contained in:
parent
bed29bc675
commit
4da33ed88e
@ -61,7 +61,7 @@ export const createProxyService = async (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const endRequest = instance.startRequest()
|
const endRequest = instance.startRequest()
|
||||||
req.on('close', endRequest)
|
res.on('close', endRequest)
|
||||||
proxy.web(req, res, { target: instance.internalUrl })
|
proxy.web(req, res, { target: instance.internalUrl })
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
die(`${e}`)
|
die(`${e}`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user