修复应用安装器界面路由问题

This commit is contained in:
jingrow 2025-10-25 23:43:47 +08:00
parent 9811038430
commit 7acb8b4044

View File

@ -278,7 +278,7 @@ const loadLocalApps = async () => {
loadingLocalApps.value = true
try {
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(),
withCredentials: true
})
@ -299,7 +299,7 @@ const loadLocalApps = async () => {
const installLocalApp = async (appName: string) => {
try {
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(),
withCredentials: true
})