Spaces:
No application file
No application file
Update browser_automation_ui.html
Browse files
browser_automation_ui.html
CHANGED
|
@@ -231,7 +231,7 @@
|
|
| 231 |
}
|
| 232 |
|
| 233 |
async function listSessions() {
|
| 234 |
-
const res = await
|
| 235 |
if (!res.ok) return [];
|
| 236 |
const data = await res.json();
|
| 237 |
alert(data);
|
|
|
|
| 231 |
}
|
| 232 |
|
| 233 |
async function listSessions() {
|
| 234 |
+
const res = await api("/api/browser/sessions");
|
| 235 |
if (!res.ok) return [];
|
| 236 |
const data = await res.json();
|
| 237 |
alert(data);
|