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",