INNER CODE UNIT · JavaScript

ApiDocsPage

giuseppe99barchetta/SuggestArr · client/src/router/index.js:11

const ApiDocsPage = () => import("@/components/ApiDocsPage.vue");

function readSubpathFromMeta() {
  const metaTag = document.querySelector('meta[name="suggestarr-subpath"]');
  return metaTag ? metaTag.getAttribute("content") || "" : "";
}

function configureAxiosSubpath(subpath) {
  if (import.meta.env.DEV) {
    axios.defaults.baseURL = "http://localhost:5000" + subpath;
  } else {
    axios.defaults.baseURL = subpath || "/";
  }
}

let _configPromise = null;

/**

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…