mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
here goes nothin
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
||||
<title>Multi Roomba Rover</title>
|
||||
<script type="module" crossorigin src="/assets/index-Ch0OrDUK.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-DdtxDvI9.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BxUpjkzh.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -45,7 +45,9 @@ function extractStreamInfo(path) {
|
||||
|
||||
const remaining = segments.slice(start, end);
|
||||
if (remaining.length === 1) {
|
||||
return { type: 'rover', id: remaining[0] || '' };
|
||||
const rawId = remaining[0] || '';
|
||||
const id = rawId.endsWith('-audio') ? rawId.slice(0, -6) : rawId;
|
||||
return { type: 'rover', id };
|
||||
}
|
||||
if (remaining.length === 2 && remaining[0] === 'room') {
|
||||
return { type: 'room', id: remaining[1] || '' };
|
||||
|
||||
Reference in New Issue
Block a user