From bd1c50a3005252b983e1d224ccc601cd5a6a0f27 Mon Sep 17 00:00:00 2001 From: Jeremy Nusser Date: Thu, 3 Nov 2022 10:10:05 -0500 Subject: [PATCH] Added vercel.json and .vercel to .gitignore. --- .gitignore | 2 +- vercel.json | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 vercel.json diff --git a/.gitignore b/.gitignore index 0472d52..22396e1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ node_modules/ -vercel.json \ No newline at end of file +.vercel \ No newline at end of file diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..4d5f52b --- /dev/null +++ b/vercel.json @@ -0,0 +1,34 @@ +{ + "build": { + "env": { + "HUGO_VERSION": "0.105.0" + } + }, + "headers": [ + { + "source": "/(.*)", + "headers": [ + { + "key": "Strict-Transport-Security", + "value": "max-age=31536000; includeSubDomains; preload" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Referrer-Policy", + "value": "strict-origin" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-Powered-By", + "value": "Hugo" + } + ] + } + ] +}