4 lines
157 B
Plaintext
4 lines
157 B
Plaintext
|
#!/bin/bash
|
||
|
[[ ! -f cert.pem ]] && openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
|
||
|
http-server -c-1 -S -C cert.pem .
|