Initial commit

This commit is contained in:
Viet An
2026-04-06 13:47:10 +07:00
commit f423d9ab20
439 changed files with 97497 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
export default defineEventHandler((event) => {
const originalUrl = event.node.req.url || "";
if (originalUrl.startsWith("/product:")) {
const rewritten = originalUrl.replace("/product:", "/product/");
event.node.req.url = rewritten;
event._path = rewritten;
}
});