changes
This commit is contained in:
@@ -6,7 +6,7 @@ export default defineNuxtPlugin(() => {
|
||||
const module = 'system'
|
||||
const mode = 'dev'
|
||||
const paths = [
|
||||
{ name: "dev", url: "https://api.utopia.com.vn/" },
|
||||
{ name: "dev", url: "https://dev.api.utopia.com.vn/" },
|
||||
{ name: "local", url: "http://localhost:8000/" },
|
||||
{ name: "prod", url: "https://api.utopia.com.vn/" },
|
||||
];
|
||||
@@ -141,7 +141,7 @@ export default defineNuxtPlugin(() => {
|
||||
|
||||
const requestLogin = function() {
|
||||
store.commit('login', undefined)
|
||||
window.location.href = `https://${mode==='dev'? '' : ''}utopialogin.dev247.net/signin?module=${module}&link=${window.location.origin}`
|
||||
window.location.href = `https://${mode==='dev'? '' : ''}login.utopia.com.vn/signin?module=${module}&link=${window.location.origin}`
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user