mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-17 01:50:47 -04:00
guh
This commit is contained in:
@@ -23,8 +23,7 @@ function canView(socket) {
|
||||
app.post('/mediamtx/auth', (req, res) => {
|
||||
const body = req.body || {};
|
||||
const path = (body.path || '').replace(/^\//, '');
|
||||
const params = new URLSearchParams(body.query || '');
|
||||
const sessionId = params.get('session');
|
||||
const sessionId = body.user;
|
||||
const roverId = path;
|
||||
|
||||
if (!sessionId || !roverId) {
|
||||
|
||||
Reference in New Issue
Block a user