feat: add webshell
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user