feat: add webshell

This commit is contained in:
2025-03-18 21:38:06 +08:00
parent aa1cee7c9f
commit 9970efccfd
19 changed files with 2976 additions and 39 deletions

View File

@@ -50,7 +50,6 @@ export default defineConfig({
// 'react-dom/client': 'https://cdn.jsdelivr.net/npm/react-dom/client/+esm',
// react: 'https://cdn.jsdelivr.net/npm/react@19.0.0/+esm',
// 'react-dom': 'https://cdn.jsdelivr.net/npm/react-dom@19.0.0/+esm',
},
},
define: {
@@ -68,6 +67,11 @@ export default defineConfig({
port: 6022,
host: '0.0.0.0',
proxy: {
'/terminal': {
target: 'http://localhost:3000',
changeOrigin: true,
ws: true,
},
'/system/lib': {
target: 'https://kevisual.xiongxiao.me',
changeOrigin: true,