diff --git a/build.sh b/build.sh index b0b2c10..154cbf7 100644 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ python3 envprod.py -PROJECT="utopia" +PROJECT="bigdatacloud" IMAGE="system" docker build -t docker.bigdatatech.vn/$PROJECT/$IMAGE:latest . diff --git a/plugins/02-connection.js b/plugins/02-connection.js index 1dad098..0328654 100644 --- a/plugins/02-connection.js +++ b/plugins/02-connection.js @@ -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}` }