This commit is contained in:
Viet An
2026-04-07 14:04:46 +07:00
parent d17a9e2588
commit bcfda00993
8 changed files with 86 additions and 20 deletions

View File

@@ -7,9 +7,9 @@ export default defineNuxtPlugin(() => {
const module = "application";
const mode = "dev";
const paths = [
{ name: "dev", url: "https://dev.api.utopia.com.vn/" },
{ name: "dev", url: "https://erpapi.bigdatatech.vn/" },
{ name: "local", url: "http://localhost:8000/" },
{ name: "prod", url: "https://api.utopia.com.vn/" },
{ name: "prod", url: "https://erpapi.bigdatatech.vn/" },
];
const path = paths.find((v) => v.name === mode).url;
const apis = [