Can't start the server with https enabled on Start

I have a certificate and I changed the vite.config.ts to use it by adding
server: { https: { key: './key.pem', cert: './certificate.pem' } },
server: { https: { key: './key.pem', cert: './certificate.pem' } },
to it but it only works for dev and not when I use build & start. How can I make it work for production as well?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server