UUID switching, and add new message button fix #96
@@ -281,7 +281,7 @@ async function fetchUUIDCheck(givenUUID , strategy){
|
||||
|
||||
function checkUUIDChars(uuid) {
|
||||
console.log("UUID in check: " + uuid);
|
||||
const regex = new RegExp("/^[A-z0-9-]+$/");
|
||||
const regex = new RegExp("^[A-z0-9-]+$");
|
||||
if(regex.test(uuid)){
|
||||
return uuid ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user