- Checkpoint

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-09-09 23:27:28 -04:00
parent 319b24ce8a
commit 49a7313abb
11 changed files with 108 additions and 52 deletions

View File

@@ -110,11 +110,15 @@ export default defineConfig({
proxy: {
// Proxy for WebSocket server
"/ws": {
target: "http://localhost:4000",
target: "https://localhost:4000",
changeOrigin: true,
secure: false,
ws: true
}
},
https: {
key: await fsPromises.readFile("../certs/key.pem"),
cert: await fsPromises.readFile("../certs/cert.pem")
}
},
build: {