From 1102d9f186ed26ab320e5d7af9968de3535e83c5 Mon Sep 17 00:00:00 2001 From: Stefano D'Angelo Date: Sat, 20 Jan 2024 07:06:21 +0100 Subject: [PATCH] https in web demo --- TODO | 1 - templates/web-demo/demo.mk | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 3f52e3f..5c093ab 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,3 @@ -* https * mod wheel * recursive object merge in tibia diff --git a/templates/web-demo/demo.mk b/templates/web-demo/demo.mk index d818a91..01a0dda 100644 --- a/templates/web-demo/demo.mk +++ b/templates/web-demo/demo.mk @@ -1,4 +1,9 @@ -ALL += build/index.html +ALL += build/index.html build/cert.pem build/key.pem build/index.html: src/index.html | build cp $^ $@ + +build/key.pem: build/cert.pem + +build/cert.pem: | build + yes "" | openssl req -x509 -newkey rsa:2048 -keyout build/key.pem -out build/cert.pem -days 365 -nodes 2>/dev/null