This commit is contained in:
2025-10-14 23:50:09 +08:00
parent 647d008dbd
commit 5dd4a6767a
9 changed files with 1575 additions and 5 deletions

20
vite.config.ts Normal file
View File

@@ -0,0 +1,20 @@
import { defineConfig } from 'vite'
import basicSsl from '@vitejs/plugin-basic-ssl'
export default defineConfig({
base: "./",
plugins: [basicSsl()],
server: {
https: true,
host: true,
port: 3000,
proxy: {
"/api": {
target: "https://kevisual.xiongxiao.me",
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(/^\/api/, "/api")
}
}
}
})