Skip to content

Commit

Permalink
add support for preview branches
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjduffy authored and jazzdan committed Feb 29, 2024
1 parent 52c069c commit 69ed27e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devtools/server/actors/replay/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,10 @@ function initializeRecordingWebChannel() {
);
const localUrl = "http://localhost:8080/";

// custom subdomains
registerWebChannel(/^https:\/\/.+.replay.io$/);
// preview branches
registerWebChannel(/^https:\/\/.+-recordreplay.vercel.app$/);
registerWebChannel(pageUrl);
registerWebChannel(localUrl);

Expand Down

0 comments on commit 69ed27e

Please sign in to comment.