From ae08792d51935129555e13b9f093445bc13ce9b7 Mon Sep 17 00:00:00 2001 From: Dylan Decrulle Date: Sun, 7 Jan 2024 15:56:02 +0100 Subject: [PATCH] Fix vercel config for examples --- examples/react-router/vercel.json | 14 +++----------- examples/tanstack-router/vercel.json | 14 +++----------- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/examples/react-router/vercel.json b/examples/react-router/vercel.json index cc44ddc..2c6e202 100644 --- a/examples/react-router/vercel.json +++ b/examples/react-router/vercel.json @@ -1,16 +1,8 @@ { - "rewrites": [{ "source": "/(.*)", "destination": "/index.html" }], - "headers": [ + "rewrites": [ { "source": "/(.*)", - "headers": [ - { - "key": "Cache-Control", - "value": "max-age=0, must-revalidate" - } - ] + "destination": "/" } - ], - "trailingSlash": false, - "cleanUrls": true + ] } diff --git a/examples/tanstack-router/vercel.json b/examples/tanstack-router/vercel.json index cc44ddc..2c6e202 100644 --- a/examples/tanstack-router/vercel.json +++ b/examples/tanstack-router/vercel.json @@ -1,16 +1,8 @@ { - "rewrites": [{ "source": "/(.*)", "destination": "/index.html" }], - "headers": [ + "rewrites": [ { "source": "/(.*)", - "headers": [ - { - "key": "Cache-Control", - "value": "max-age=0, must-revalidate" - } - ] + "destination": "/" } - ], - "trailingSlash": false, - "cleanUrls": true + ] }