import{removeLeadingSlash as d}from"../../../utils/url/remove-leading-slash.js";function a(o,t){const i=d(t).split("/");let r=o;for(const e of i){if(e==="*"){r["*"]=t;return}r[e]||(r[e]={}),r=r[e]}}export{a as addWildcardRedirectToTree};
