import { u as useI18n, e as useFetch, f as useRuntimeConfig } from './server.mjs';

const useAPIFetch = (path, options = {}) => {
  const config = useRuntimeConfig();
  const i18n = useI18n();
  options.baseURL = config.public.baseURL;
  options.headers = {
    Accept: "application/json",
    "Content-Type": "application/json",
    "Accept-Language": i18n.locale.value
  };
  return useFetch(path, options, "$uCiByLDzDw");
};

export { useAPIFetch as u };
//# sourceMappingURL=useAPIFetch-Bdd4OwYk.mjs.map
