Import project files

This commit is contained in:
2026-01-07 17:18:26 +08:00
parent 7d9fff2c34
commit 0b07e63b76
66 changed files with 11497 additions and 0 deletions

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

@@ -0,0 +1,47 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
server: {
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
configure: (proxy) => {
const p = proxy as any
p.timeout = 120000
p.proxyTimeout = 120000
},
},
'/config': {
target: 'http://localhost:8000',
changeOrigin: true,
configure: (proxy) => {
const p = proxy as any
p.timeout = 120000
p.proxyTimeout = 120000
},
},
'/md': {
target: 'http://localhost:8000',
changeOrigin: true,
configure: (proxy) => {
const p = proxy as any
p.timeout = 120000
p.proxyTimeout = 120000
},
},
'/refresh.js': {
target: 'http://localhost:8000',
changeOrigin: true,
configure: (proxy) => {
const p = proxy as any
p.timeout = 120000
p.proxyTimeout = 120000
},
}
}
}
})