Skip to content

Commit

Permalink
handle trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjduffy committed Mar 18, 2024
1 parent c7e8e48 commit 055106f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devtools/server/actors/replay/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ function initializeRecordingWebChannel() {
);
const localUrl = "http://localhost:8080/";

const replayio = /^https:\/\/.+.replay.io$/;
const previewBranches = /^https:\/\/.+-recordreplay.vercel.app$/;
const replayio = /^https:\/\/.+.replay.io\/?$/;
const previewBranches = /^https:\/\/.+-recordreplay.vercel.app\/?$/;
// custom subdomains
registerWebChannel(replayio);
// preview branches
Expand Down

0 comments on commit 055106f

Please sign in to comment.