From 4f634f52cb4a4276c8e556a09827d4d81cd7d770 Mon Sep 17 00:00:00 2001 From: fewensa <37804932+fewensa@users.noreply.github.com> Date: Mon, 21 Oct 2024 15:56:26 +0800 Subject: [PATCH] Test --- vercel.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..4b0aca6 --- /dev/null +++ b/vercel.json @@ -0,0 +1,27 @@ +{ + "headers": [ + { + "source": "/(.*)", + "headers": [ + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "Referrer-Policy", + "value": "origin-when-cross-origin" + }, + { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=2592000" + } + ] + } + ], + "rewrites": [{ "source": "/(.*)", "destination": "/index.html" }] + } + \ No newline at end of file