diff --git a/vercel.json b/vercel.json new file mode 100644 index 00000000..57c4c29d --- /dev/null +++ b/vercel.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://openapi.vercel.sh/vercel.json", + "headers": [ + { + "source": "/assets/(.*)", + "headers": [ + { + "key": "Cache-Control", + "value": "max-age=31536000, immutable" + } + ] + }, + { + "source": "/(.*).png", + "headers": [ + { + "key": "Cache-Control", + "value": "max-age=604800, immutable" + } + ] + } + ], + "rewrites": [ + { + "source": "/:path*", + "destination": "/:path*.html" + } + ] +}