From 8825375b7a49908eb30baa02556f1bb878f7c191 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sun, 15 May 2022 12:02:36 -0500 Subject: [PATCH] Set headers for stork index --- netlify.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/netlify.toml b/netlify.toml index a7140d1..23b9475 100644 --- a/netlify.toml +++ b/netlify.toml @@ -28,6 +28,11 @@ NPM_FLAGS = "--no-optional" CI = "1" +[[headers]] + for = "/search-index.st" + [headers.values] + Content-Type = "application/wasm" + Cache-Control = "max-age=43200, must-revalidate" # https://docs.netlify.com/configure-builds/file-based-configuration/#redirects # These redirect are lower priority than _redirects in the root or dist