Config works now. Does not feel solved yet, but still.

This commit is contained in:
James Cole
2025-06-01 13:32:18 +02:00
parent 0e7d72023d
commit 5bd87036b0

View File

@@ -36,8 +36,8 @@ export default defineConfig(({command, mode, isSsrBuild, isPreview}) => {
let https = null; let https = null;
if (command === 'serve') { if (command === 'serve') {
https = { https = {
key: fs.readFileSync(`/Users/sander/Sites/vm/tls-certificates/wildcard.sd.internal.key`), key: fs.readFileSync(`/vagrant/tls-certificates/wildcard.sd.internal.key`),
cert: fs.readFileSync(`/Users/sander/Sites/vm/tls-certificates/wildcard.sd.internal.crt`), cert: fs.readFileSync(`/vagrant/tls-certificates/wildcard.sd.internal.crt`),
}; };
} }
@@ -83,7 +83,7 @@ export default defineConfig(({command, mode, isSsrBuild, isPreview}) => {
server: { server: {
cors: true, cors: true,
origin: 'https://localhost:5173', origin: 'https://192.168.96.154:5173',
watch: { watch: {
usePolling: true, usePolling: true,
}, },