Created
December 14, 2021 12:59
-
-
Save stepankuzmin/563e56d0e90f07d7fba5302ed1ece67a to your computer and use it in GitHub Desktop.
macOS serve folder with HTTPS using mkcert and npx serve
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install mkcert | |
mkcert localhost | |
npx serve -l 1234 --ssl-cert ./localhost.pem --ssl-key ./localhost-key.pem <path> | |
open https://localhost:1234 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment