This commit is contained in:
anhduy-tech
2026-03-24 09:17:46 +07:00
parent bd6cfd7c4b
commit 471994636b
2 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
python3 envprod.py
PROJECT="utopia"
PROJECT="bigdatacloud"
IMAGE="system"
docker build -t docker.bigdatatech.vn/$PROJECT/$IMAGE:latest .

View File

@@ -4,11 +4,11 @@ import axios from 'axios'
export default defineNuxtPlugin(() => {
const module = 'system'
const mode = 'dev'
const mode = 'prod'
const paths = [
{ name: "dev", url: "https://dev.api.utopia.com.vn/" },
{ name: "dev", url: "https://api.bigdatatech.cloud/" },
{ name: "local", url: "http://localhost:8000/" },
{ name: "prod", url: "https://api.utopia.com.vn/" },
{ name: "prod", url: "https://api.bigdatatech.cloud/" },
];
const path = paths.find(v=>v.name===mode).url
const apis = [
@@ -141,7 +141,7 @@ export default defineNuxtPlugin(() => {
const requestLogin = function() {
store.commit('login', undefined)
window.location.href = `https://${mode==='dev'? 'dev.' : ''}login.utopia.com.vn/signin?module=${module}&link=${window.location.origin}`
window.location.href = `https://${mode==='dev'? '' : ''}login.bigdatatech.cloud/signin?module=${module}&link=${window.location.origin}`
}