From 5bd87036b0fae8c6a688e25d0c3bee6f15e564a0 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 1 Jun 2025 13:32:18 +0200 Subject: [PATCH] Config works now. Does not feel solved yet, but still. --- resources/assets/v2/vite.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/assets/v2/vite.config.js b/resources/assets/v2/vite.config.js index fad196ce34..50b1b24e05 100644 --- a/resources/assets/v2/vite.config.js +++ b/resources/assets/v2/vite.config.js @@ -36,8 +36,8 @@ export default defineConfig(({command, mode, isSsrBuild, isPreview}) => { let https = null; if (command === 'serve') { https = { - key: fs.readFileSync(`/Users/sander/Sites/vm/tls-certificates/wildcard.sd.internal.key`), - cert: fs.readFileSync(`/Users/sander/Sites/vm/tls-certificates/wildcard.sd.internal.crt`), + key: fs.readFileSync(`/vagrant/tls-certificates/wildcard.sd.internal.key`), + cert: fs.readFileSync(`/vagrant/tls-certificates/wildcard.sd.internal.crt`), }; } @@ -83,7 +83,7 @@ export default defineConfig(({command, mode, isSsrBuild, isPreview}) => { server: { cors: true, - origin: 'https://localhost:5173', + origin: 'https://192.168.96.154:5173', watch: { usePolling: true, },