You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
356 B

import{a0 as o,a1 as s}from"./index-f4658ae7.js";function c(){const{VITE_GLOB_IS_THIRDPART_SYSTEM:r}=o(),t=()=>{if(r){const{origin:n,pathname:i}=window.location,e=n+i;return e.endsWith("/")?e.substring(0,e.length-1):e}return""};return{getUrlPrefix:t,getValidHashUrl:n=>(n.includes("Token")==!1&&(n+="&Token="+s.Token),t()+n)}}export{c as useThirdPartUrl};