Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 9s
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🩺 Smoke Test (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
Build & Deploy / 🏗️ Build (push) Has been cancelled
8 lines
327 B
JavaScript
8 lines
327 B
JavaScript
const remainingPath =
|
|
"wp-content/cache/breeze-minification/css/breeze_klz-cables-com-1-10895.css";
|
|
const directory = "klz-cables.com";
|
|
const targetPath = remainingPath.startsWith(`assets/${directory}/`)
|
|
? `/${remainingPath}`
|
|
: `/assets/${directory}/${remainingPath}`;
|
|
console.log(`/showcase/${directory}${targetPath}`);
|