feature/IO-2742-redis - Normalize Network
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -110,10 +110,24 @@ export default defineConfig({
|
||||
proxy: {
|
||||
// Proxy for WebSocket server
|
||||
"/ws": {
|
||||
target: "https://localhost:4000",
|
||||
target: "http://localhost:4000",
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
ws: true
|
||||
},
|
||||
"/api": {
|
||||
target: "http://localhost:4000",
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
ws: false,
|
||||
rewrite: (path) => path.replace(/^\/api/, "")
|
||||
},
|
||||
"/partner": {
|
||||
target: "http://localhost:1337",
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
ws: false,
|
||||
rewrite: (path) => path.replace(/^\/partner/, "")
|
||||
}
|
||||
},
|
||||
https: {
|
||||
|
||||
Reference in New Issue
Block a user