Skip to content

Node.js based forum software built for the modern web

lint: unnecessary escape

Barış Soner Uşaklı60eeae95d2d3
diff --git a/public/src/utils.js b/public/src/utils.js
index 50ed3960c2..742869583c 100644
--- a/public/src/utils.js
+++ b/public/src/utils.js
@@ -78,7 +78,7 @@ utils.generateUUID = function () {
const temp_url = URL.createObjectURL(new Blob());
const uuid = temp_url.toString();
URL.revokeObjectURL(temp_url);
- return uuid.split(/[:\/]/g).pop().toLowerCase(); // remove prefixes
+ return uuid.split(/[:/]/g).pop().toLowerCase(); // remove prefixes
};
module.exports = utils;