Skip to content

Commit

Permalink
fix: update roomid matching regex
Browse files Browse the repository at this point in the history
fix #51
  • Loading branch information
shugen002 committed Sep 9, 2023
1 parent db44283 commit 2552b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/recorder/RoomList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ interface NewRoomModelType {
autoRecord: boolean;
}
const ROOM_ID_FROM_LINK_REGEX = /^(?:(?:https?:\/\/)?live\.bilibili\.com\/(?:blanc\/|h5\/)?)?(\d+)(?:\?.*)?(?:#.*)?$/;
const ROOM_ID_FROM_LINK_REGEX = /^(?:(?:https?:\/\/)?live\.bilibili\.com\/(?:blanc\/|h5\/)?)?(\d+)\/?(?:[#\?].*)?$/;
const showNewRoomDialog = ref(false);
const newRoomFormRef = ref<FormInst | null>(null);
Expand Down

0 comments on commit 2552b7d

Please sign in to comment.