Skip to content

Commit

Permalink
fix(docs): use Caddy encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvanherwijnen committed Dec 12, 2024
1 parent 2b1eac2 commit 271e129
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/docs/build/Caddyfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
www.slimfact.app {
encode zstd gzip
handle_path /* {
root * /srv/www.slimfact.app
try_files {path}.html {path} /404.html
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 271e129

Please sign in to comment.