feat webui react+vite responsive app with clawgo api adapter

This commit is contained in:
DBT
2026-02-25 12:59:16 +00:00
parent b435589060
commit b2ac3afcf4
11 changed files with 2009 additions and 0 deletions

16
webui/vite.config.ts Normal file
View File

@@ -0,0 +1,16 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
base: '/webui/',
plugins: [react()],
server: {
port: 5173,
proxy: {
'/webui/api': {
target: 'http://127.0.0.1:18790',
changeOrigin: true,
},
},
},
})