Files
klz-cables.com/.pnpm-store/v10/files/4c/45fcbfe089dc2d354bfff72e4d332279207a6c0e72bc09255a85b4979aafe02bf8c0e26fd0caa1fee4e427ba65d35e24fbcc944a3dfa57229c06ebff1e1283
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

2 lines
488 B
Plaintext

import{queryToParams as e}from"./query-to-params.js";const t=(e,t)=>(e.endsWith(`/`)&&(e=e.slice(0,-1)),t.startsWith(`/`)||(t=`/`+t),e+t),n=(n,r,i)=>{let a=n.pathname===`/`?r:t(n.pathname,r),o=new globalThis.URL(a,n);if(i)for(let[t,n]of Object.entries(e(i)))if(n&&typeof n==`object`&&!Array.isArray(n))for(let[e,r]of Object.entries(n))o.searchParams.set(`${t}[${e}]`,String(r));else o.searchParams.set(t,n);return o};export{n as getRequestUrl};
//# sourceMappingURL=get-request-url.js.map