This commit is contained in:
parent
e3cca4c51c
commit
a3e58a01a1
@ -11,7 +11,7 @@
|
|||||||
<div v-else class="flex flex-col items-center">
|
<div v-else class="flex flex-col items-center">
|
||||||
<img src="../avatar.png" class="size-[60px]" alt="" />
|
<img src="../avatar.png" class="size-[60px]" alt="" />
|
||||||
<div class="flex flex-col justify-center text-white">
|
<div class="flex flex-col justify-center text-white">
|
||||||
<div class="text-xl font-semibold">{{ userInfo.email }}</div>
|
<div class="pt-3 text-xl font-semibold">{{ userInfo.email }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Transition>
|
</Transition>
|
||||||
|
|||||||
@ -19,7 +19,7 @@ export default defineConfig({
|
|||||||
// 将所有以 /api 开头的请求转发到目标服务器
|
// 将所有以 /api 开头的请求转发到目标服务器
|
||||||
// 1. 匹配所有以 /public 开头的请求
|
// 1. 匹配所有以 /public 开头的请求
|
||||||
'/api/v1': {
|
'/api/v1': {
|
||||||
target: 'https://h.hifastapp.com',
|
target: 'https://hifastvpn.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
// rewrite: (path) => path.replace(/^\/api/, ''),
|
// rewrite: (path) => path.replace(/^\/api/, ''),
|
||||||
autoRewrite: true,
|
autoRewrite: true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user