mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-24 13:54:50 +00:00
[fix]
This commit is contained in:
@@ -21,3 +21,4 @@ VUE_APP_LOGOUT_PATH = '/core/auth/logout/'
|
||||
|
||||
# Dev server for core proxy
|
||||
VUE_APP_CORE_HOST = 'http://localhost:8080'
|
||||
VUE_APP_ENV = 'development'
|
||||
|
||||
@@ -8,4 +8,5 @@ VUE_APP_PUBLIC_PATH = '/ui'
|
||||
# External auth
|
||||
VUE_APP_LOGIN_PATH = '/core/auth/login/'
|
||||
VUE_APP_LOGOUT_PATH = '/core/auth/logout/'
|
||||
VUE_APP_ENV = 'production'
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ export default {
|
||||
defaultSetting: {
|
||||
async: {
|
||||
enable: true,
|
||||
url: (process.env.ENV === 'production') ? (`${this.setting.treeUrl}`) : (`${process.env.VUE_APP_BASE_API}${this.setting.treeUrl}`),
|
||||
url: (process.env.VUE_APP_ENV === 'production') ? (`${this.setting.treeUrl}`) : (`${process.env.VUE_APP_BASE_API}${this.setting.treeUrl}`),
|
||||
autoParam: ['id=key', 'name=n', 'level=lv'],
|
||||
type: 'get'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user