Commit 3d1b2841 authored by chenqikuai's avatar chenqikuai

fix

parent cbccda07
export function getLatestedIosVersion() {
return fetch('/proxyApi/version/latest?os=ios', {
return fetch('/proxyApi/api/v1/version/latest?os=ios', {
method: 'get',
}).then((ret) => ret.json())
}
export function getLatestedAndroidVersion() {
return fetch('/proxyApi/version/latest?os=android', {
return fetch('/proxyApi/api/v1/version/latest?os=android', {
method: 'get',
}).then((ret) => ret.json())
}
......@@ -11,7 +11,7 @@ export default defineConfig({
server: {
proxy: {
'/proxyApi': {
target: 'http://172.16.102.150:8091/api/v1/',
target: 'http://172.16.102.150:8091/',
rewrite: (path) => path.replace(/^\/proxyApi/, ''),
},
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment