mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-14 19:08:44 +00:00
Add randomized client identifier to reduce chance of grabbing the incorrect subscription ID
This commit is contained in:
@@ -13,7 +13,7 @@ app.get('/api/stream/:id', (req, res)=>{
|
||||
'Content-Encoding' : 'none'
|
||||
});
|
||||
;
|
||||
Stream.subscribe(req.params.id, res);
|
||||
Stream.subscribe(req.params.id, res, req.query?.client);
|
||||
});
|
||||
|
||||
app.get('/api/stream/unsubscribe/:id', (req, res)=>{
|
||||
|
||||
Reference in New Issue
Block a user