hackgvl / hackgreenville-com

HackGreenville's Website
https://hackgreenville.com
MIT License
16 stars 15 forks source link

Use Vite more flexibly #241

Closed JSn1nj4 closed 1 month ago

JSn1nj4 commented 1 month ago

This makes local development with Vite a little more flexible by providing a few new environment vars.

These 2 are for using HTTPS in local development. They should point to certificate and key files on your filesystem.

VITE_HTTPS_CERT
VITE_HTTPS_KEY

For this to work, both must be set and Vite must be able to read both files.

These vars have been added to .env.example as well, just commented out. Their defaults will take effect that way.


Closes #234