mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +00:00
feat(webapp): add socket to vite server proxy
This commit is contained in:
@@ -54,6 +54,11 @@ export default defineConfig(({ mode }) => {
|
|||||||
target: env.VITE_API_PROXY_TARGET || 'http://localhost:3000',
|
target: env.VITE_API_PROXY_TARGET || 'http://localhost:3000',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
},
|
},
|
||||||
|
'/socket': {
|
||||||
|
target: env.VITE_API_PROXY_TARGET || 'http://localhost:3000',
|
||||||
|
changeOrigin: true,
|
||||||
|
ws: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
|||||||
Reference in New Issue
Block a user