feat(content): rewrite copy to focus on worry-free package and static sites
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

This commit is contained in:
2026-05-06 11:34:52 +02:00
parent 5663c3ae38
commit 07c8d7c668
6 changed files with 202 additions and 183 deletions

7
test-middleware.js Normal file
View File

@@ -0,0 +1,7 @@
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}`);