首次提交

This commit is contained in:
2026-05-26 10:10:32 +08:00
parent 02e1486d39
commit a6f7ad12da
45 changed files with 27435 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
import { defineConfig } from 'vite'
import { fileURLToPath, URL } from 'node:url'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
server: {
port: 1088,
host: true,
open: true,
proxy: {
'/manifest': {
target: 'http://127.0.0.1:8899',
changeOrigin: true,
},
'/partner': {
target: 'http://127.0.0.1:8899',
changeOrigin: true,
},
'/trans': {
target: 'http://127.0.0.1:8899',
changeOrigin: true,
},
'/seal': {
target: 'http://127.0.0.1:8899',
changeOrigin: true,
},
'/seal/ws': {
target: 'ws://127.0.0.1:8899',
ws: true,
changeOrigin: true,
},
},
},
})