Skip to content

Commit 288089e

Browse files
authored
fix(multi-video-player): use more specific path split in fromPullUrl (#1604)
Change fromPullUrl to split on '/jet/jrec/pull/' instead of '/pull/' to properly support reverse proxy deployments with path-based routing
1 parent b2f5172 commit 288089e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webapp/packages/multi-video-player/src/gateway-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class GatewayRecordingApi {
7070

7171
static fromPullUrl(pullUrl: string): GatewayRecordingApi {
7272
const url = new URL(pullUrl);
73-
const pathParts = url.pathname.split('/pull/');
73+
const pathParts = url.pathname.split('/jet/jrec/pull/');
7474
const gatewayUrl = `${url.protocol}//${url.host}${pathParts[0]}`;
7575
const sessionId = pathParts[1].split('/')[0];
7676
const token = url.searchParams.get('token') || '';

0 commit comments

Comments
 (0)