修复应用安装器界面路由问题
This commit is contained in:
parent
9811038430
commit
7acb8b4044
@ -278,7 +278,7 @@ const loadLocalApps = async () => {
|
|||||||
loadingLocalApps.value = true
|
loadingLocalApps.value = true
|
||||||
try {
|
try {
|
||||||
const base = (import.meta as any).env.VITE_LOCAL_API_URL || ''
|
const base = (import.meta as any).env.VITE_LOCAL_API_URL || ''
|
||||||
const response = await axios.get(`${base}/local-apps`, {
|
const response = await axios.get(`${base}/jingrow/local-apps`, {
|
||||||
headers: get_session_api_headers(),
|
headers: get_session_api_headers(),
|
||||||
withCredentials: true
|
withCredentials: true
|
||||||
})
|
})
|
||||||
@ -299,7 +299,7 @@ const loadLocalApps = async () => {
|
|||||||
const installLocalApp = async (appName: string) => {
|
const installLocalApp = async (appName: string) => {
|
||||||
try {
|
try {
|
||||||
const base = (import.meta as any).env.VITE_LOCAL_API_URL || ''
|
const base = (import.meta as any).env.VITE_LOCAL_API_URL || ''
|
||||||
const response = await axios.post(`${base}/install-local/${appName}`, {}, {
|
const response = await axios.post(`${base}/jingrow/install-local/${appName}`, {}, {
|
||||||
headers: get_session_api_headers(),
|
headers: get_session_api_headers(),
|
||||||
withCredentials: true
|
withCredentials: true
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user