function a(t){if(!t||t.startsWith("http://")||t.startsWith("https://"))return t;if(t.startsWith("/")&&!t.startsWith("//")){const s="https://www.glfoto.cn";return`${s.endsWith("/")?s.slice(0,-1):s}/api${t}`}return t}export{a as h};
