diff options
-rw-r--r-- | src/index.ts | 5 |
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; |