summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index 60d7bb7..076b7ee 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -9,7 +9,10 @@ const base = "../website/";
 const publicDir = path.resolve(base, "public") + path.sep;
 
 const config = readConfig(base);
-const defaultHeaders = config.extra.headers;
+const defaultHeaders = {
+  ...config.extra.headers,
+  vary: "Accept-Encoding",
+};
 
 type File = {
   filename: string;