7
assets/js/room.js
Normal file
7
assets/js/room.js
Normal file
@@ -0,0 +1,7 @@
|
||||
let room = document.location.pathname.match(/\/room\/([^\/]+)/);
|
||||
if (room) {
|
||||
room = room[1];
|
||||
} else {
|
||||
room = null;
|
||||
}
|
||||
export default room;
|
||||
Reference in New Issue
Block a user