feature/IO-2742-redis - Normalize Network

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-09-10 15:17:13 -04:00
parent 40f1a2f6ed
commit ea0a717895
9 changed files with 27 additions and 30 deletions

View File

@@ -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: {