itizawa %!s(int64=6) %!d(string=hai) anos
pai
achega
4d191499bc
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/lib/util/path-utils.js

+ 2 - 0
src/lib/util/path-utils.js

@@ -5,6 +5,7 @@
  * @returns {boolean}
  */
 const isTrashPage = (path) => {
+  // https://regex101.com/r/BSDdRr/1
   if (path.match(/^\/trash(\/.*)?$/)) {
     return true;
   }
@@ -18,6 +19,7 @@ const isTrashPage = (path) => {
  * @returns {boolean}
  */
 const isUserPage = (path) => {
+  // https://regex101.com/r/SxPejV/1
   if (path.match(/^\/user(\/.*)?$/)) {
     return true;
   }