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, },