Paste-bin.xyz
Archive
Sign In
Login
Register
Username
Current Password
Keep me signed in.
Username
Full Name
Email
New Password
TEXT
38
const pathMatch targetPathArray
Guest on 26th December 2024 04:54:56 AM
const pathMatch = targetPathArray.find((path) => pagePath.includes('/' + path + '/'));
if (pathMatch) {
missingPageRedirect(pathMatch);
}
Raw Paste
const pathMatch = targetPathArray.find((path) => pagePath.includes('/' + path + '/')); if (pathMatch) { missingPageRedirect(pathMatch); }
Login
or
Register
to edit or fork this paste. It's free.