Skip to content

Commit

Permalink
Fix vercel config for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Jan 7, 2024
1 parent 1e46c7c commit ae08792
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
14 changes: 3 additions & 11 deletions examples/react-router/vercel.json
Original file line number Diff line number Diff line change
@@ -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
]
}
14 changes: 3 additions & 11 deletions examples/tanstack-router/vercel.json
Original file line number Diff line number Diff line change
@@ -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
]
}

1 comment on commit ae08792

@vercel
Copy link

@vercel vercel bot commented on ae08792 Jan 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

oidc-spa-example-tanstack – ./examples/tanstack-router

oidc-spa-example-tanstack-git-main-ddecrulles-projects.vercel.app
example-tanstack-router.oidc-spa.dev
oidc-spa-example-tanstack-ddecrulles-projects.vercel.app

Please sign in to comment.