Files
mintel.me/test-middleware.js
Marc Mintel 07c8d7c668
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
feat(content): rewrite copy to focus on worry-free package and static sites
2026-05-06 11:34:52 +02:00

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}`);