From 54f816545dcd800915bd05807d1a2d4d4f055e9c Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Sun, 7 Jan 2024 03:43:19 +0100 Subject: [PATCH] Fix Vercel configuration --- examples/react-router/vercel.json | 12 +----------- examples/tanstack-router/vercel.json | 12 +----------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/examples/react-router/vercel.json b/examples/react-router/vercel.json index a851af5..cc44ddc 100644 --- a/examples/react-router/vercel.json +++ b/examples/react-router/vercel.json @@ -1,15 +1,5 @@ { - "version": 2, - "routes": [ - { - "handle": "filesystem" - }, - { - "src": "/(.*)", - "dest": "/index.html", - "status": 200 - } - ], + "rewrites": [{ "source": "/(.*)", "destination": "/index.html" }], "headers": [ { "source": "/(.*)", diff --git a/examples/tanstack-router/vercel.json b/examples/tanstack-router/vercel.json index a851af5..cc44ddc 100644 --- a/examples/tanstack-router/vercel.json +++ b/examples/tanstack-router/vercel.json @@ -1,15 +1,5 @@ { - "version": 2, - "routes": [ - { - "handle": "filesystem" - }, - { - "src": "/(.*)", - "dest": "/index.html", - "status": 200 - } - ], + "rewrites": [{ "source": "/(.*)", "destination": "/index.html" }], "headers": [ { "source": "/(.*)",