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
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:
7
test-middleware.js
Normal file
7
test-middleware.js
Normal 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}`);
|
||||
Reference in New Issue
Block a user