INNER CODE UNIT · JavaScript
DashboardPage
giuseppe99barchetta/SuggestArr · client/src/router/index.js:9
const DashboardPage = () => import("@/components/DashboardPage.vue");
const LoginPage = () => import("@/components/LoginPage.vue");
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;