mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-09-26 22:49:14 +08:00
ES lint
This commit is contained in:
parent
8046b36bd0
commit
d73be3ec7c
@ -5,7 +5,7 @@ import { getCsrf, getUID } from '@/core/utils'
|
||||
export function getLiveRoomId(): string {
|
||||
let matched = location.href.match(/live.bilibili.com\/(\d+)/)
|
||||
if (matched) {
|
||||
return matched[1]
|
||||
return matched[1]
|
||||
}
|
||||
matched = location.href.match(/live.bilibili.com\/blanc\/(\d+)/)
|
||||
return matched ? matched[1] : ''
|
||||
|
Loading…
Reference in New Issue
Block a user