From 271e1294239a376d6abefe1750110f4bf38b2ca7 Mon Sep 17 00:00:00 2001 From: Stefan van Herwijnen Date: Thu, 12 Dec 2024 16:09:51 +0100 Subject: [PATCH] fix(docs): use Caddy encoding --- packages/docs/build/Caddyfile | 1 + packages/docs/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/docs/build/Caddyfile b/packages/docs/build/Caddyfile index 58f1ef8..dd35746 100644 --- a/packages/docs/build/Caddyfile +++ b/packages/docs/build/Caddyfile @@ -1,4 +1,5 @@ www.slimfact.app { + encode zstd gzip handle_path /* { root * /srv/www.slimfact.app try_files {path}.html {path} /404.html diff --git a/packages/docs/package.json b/packages/docs/package.json index abeab58..a842356 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -24,7 +24,7 @@ "scripts": { "dev": "vitrify dev", "dev:ssr": "vitrify dev -m ssr", - "build": "run-s build:ssg gzip", + "build": "run-s build:ssg", "build:csr": "vitrify build", "build:ssr": "vitrify build -m ssr", "build:ssg": "vitrify build -m ssg",