From c38a95665192e20118d657337c9babcaeedee796 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Fri, 4 Apr 2025 14:09:26 -0400 Subject: Include gzip files for httpd server --- build.sh | 3 ++- public/index.html.gz | Bin 0 -> 3184 bytes public/style.css.gz | Bin 0 -> 610 bytes 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 public/index.html.gz create mode 100644 public/style.css.gz diff --git a/build.sh b/build.sh index a3d3920..6d3e1bb 100644 --- a/build.sh +++ b/build.sh @@ -1,2 +1,3 @@ # ! /bin/sh -(cat _header.html; multimarkdown index.md; cat _footer.html) > public/index.html \ No newline at end of file +(cat _header.html; multimarkdown index.md; cat _footer.html) > public/index.html +find public -type f \( -name "*.html" -o -name "*.css" \) -exec gzip -k -f {} \; diff --git a/public/index.html.gz b/public/index.html.gz new file mode 100644 index 0000000..0c49028 Binary files /dev/null and b/public/index.html.gz differ diff --git a/public/style.css.gz b/public/style.css.gz new file mode 100644 index 0000000..ea72e23 Binary files /dev/null and b/public/style.css.gz differ -- cgit v1.2.3-70-g09d2