mockserver
mockserver copied to clipboard
Added: support for HTTPS servers
This allows you to create servers that use HTTPS. This can be important for working with certain features (service workers, iframes, etc.) especially when on the same domain/hostname.
This is a minor change and really just allows you to pass your keys. I tested this with the fantastic mkcert tool.
The command changes to the following:
mockserver -p 8080 -m ./mocks -k ./localhost-key.pem -c ./localhost.pem
That's all you need to make HTTPS work
Any thoughts on this?
Any thoughts on this?