import { getConfig as o } from "@das-fed/utils/config";
const n = (r) => {
  let t = r;
  if (!t) return t;
  t.startsWith("/") || (t = `/${t}`), new URL(t, import.meta.url);
  let { baseURL: e } = o();
  return `${e}/oss/resource/front-end/auto-upload/pc${t}`;
};
export {
  n as oss
};
