'frontendadd'

This commit is contained in:
yangqiao
2024-12-30 17:47:28 +08:00
parent 8b4cc37514
commit 34e25633ba
71 changed files with 3699 additions and 0 deletions

17
frontend/vite.config.ts Normal file
View File

@@ -0,0 +1,17 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
server: {
port: 3003,
host: '0.0.0.0',
proxy: {
'/matagent': {
target: 'http://159.75.91.126:8000',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/matagent/, '/matagent')
}
}
},
})