No windows available
@@ -203,10 +202,7 @@ export default function () {
- options={[
- { deviceId: "", label: "No Camera" },
- ...camerasData(),
- ]}
+ options={[{ deviceId: "", label: "No Camera" }, ...cameras()]}
optionValue="deviceId"
optionTextValue="label"
placeholder="No Camera"
@@ -232,8 +228,10 @@ export default function () {
>
- class="flex-1 text-left truncate">
- {(state) => <>{state.selectedOption().label}>}
+ class="flex-1 text-left truncate">
+ {(state) => <>{state.selectedOption()?.label}>}
}>
-
-
- {currentStep().name} Permission
-
-
-
- Open Settings
+
+
+
+
+ {currentStep().name} Permission
+
+
+
+ Open Settings
+
+ }
+ >
+
+
+
- }
- >
-
-
-
-
-
+
+
+
+
);
diff --git a/apps/web/app/api/desktop/session/request/route.ts b/apps/web/app/api/desktop/session/request/route.ts
index 50b0223a..661a902c 100644
--- a/apps/web/app/api/desktop/session/request/route.ts
+++ b/apps/web/app/api/desktop/session/request/route.ts
@@ -39,7 +39,7 @@ export async function GET(req: NextRequest) {
}
const returnUrl = new URL(
- `http://localhost:${port}?token=${tokenValue}&expires=${decodedToken?.exp}`
+ `http://127.0.0.1:${port}?token=${tokenValue}&expires=${decodedToken?.exp}`
);
return Response.redirect(returnUrl.href);