mirror of
https://github.com/siteboon/claudecodeui.git
synced 2025-12-10 23:09:46 +00:00
Update vite.config.js for websocket proxy configuration
This commit is contained in:
@@ -15,6 +15,10 @@ export default defineConfig(({ command, mode }) => {
|
|||||||
'/ws': {
|
'/ws': {
|
||||||
target: `ws://localhost:${env.PORT || 3002}`,
|
target: `ws://localhost:${env.PORT || 3002}`,
|
||||||
ws: true
|
ws: true
|
||||||
|
},
|
||||||
|
'/shell': {
|
||||||
|
target: `ws://localhost:${env.PORT || 3002}`,
|
||||||
|
ws: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user