TEXT   37
const pathMatch targetPathArray
Guest on 26th December 2024 04:54:56 AM


  1.  const pathMatch = targetPathArray.find((path) => pagePath.includes('/' + path + '/'));
  2.         if (pathMatch) {
  3.             missingPageRedirect(pathMatch);
  4.         }

Raw Paste

Login or Register to edit or fork this paste. It's free.