mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
Forward ws on dev
This commit is contained in:
13
vite.config.mts
Normal file
13
vite.config.mts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
server: {
|
||||
proxy: {
|
||||
// Proxy websocket requests to the server
|
||||
'/': {
|
||||
target: 'ws://127.0.0.1:8188',
|
||||
ws: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user