Skip to content

Commit

Permalink
Remove rewrites (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
noisekit authored Dec 16, 2022
1 parent 5bca8a5 commit 6234d06
Showing 1 changed file with 2 additions and 55 deletions.
57 changes: 2 additions & 55 deletions v2/ui/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,34 +42,7 @@
]
},
{
"source": "/_next/static/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/(.*).ico",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/(.*).(png|jpg|webp|svg|gif)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/(.*).(eot|otf|ttf|ttc|woff|woff2|font|css)",
"source": "/(.*).(png|jpg|webp|svg|gif|ico|eot|otf|ttf|ttc|woff|woff2|font|css)",
"headers": [
{
"key": "Cache-Control",
Expand All @@ -78,31 +51,5 @@
]
}
],
"rewrites": [
{ "source": "/staking", "destination": "staking.html" },
{ "source": "/loans/(.*)", "destination": "loans/[[...action]].html" },
{ "source": "/migrate-escrow", "destination": "migrate-escrow.html" },
{ "source": "/pools/weth-snx", "destination": "pools/weth-snx.html" },
{ "source": "/pools/(.*)", "destination": "pools/[[...pool]].html" },
{ "source": "/index", "destination": "index.html" },
{ "source": "/404", "destination": "404.html" },
{ "source": "/earn/claim", "destination": "earn/claim.html" },
{ "source": "/earn/curve-LP", "destination": "earn/curve-LP.html" },
{ "source": "/earn/iBTC-LP", "destination": "earn/iBTC-LP.html" },
{ "source": "/earn/iETH-LP", "destination": "earn/iETH-LP.html" },
{ "source": "/earn/(.*)", "destination": "earn/[[...pool]].html" },
{ "source": "/delegate", "destination": "delegate.html" },
{ "source": "/earn", "destination": "earn.html" },
{ "source": "/history", "destination": "history.html" },
{ "source": "/staking/burn", "destination": "staking/burn.html" },
{ "source": "/staking/mint", "destination": "staking/mint.html" },
{ "source": "/staking/(.*)", "destination": "staking/[[...action]].html" },
{ "source": "/debt", "destination": "debt.html" },
{ "source": "/escrow/(.*)", "destination": "escrow/[[...action]].html" },
{ "source": "/synths", "destination": "synths.html" },
{ "source": "/merge-accounts/(.*)", "destination": "merge-accounts/[[...action]].html" },
{ "source": "/gov/(.*)", "destination": "gov/[[...panel]].html" },
{ "source": "/bridge", "destination": "bridge.html" },
{ "source": "/(.*)", "destination": "/" }
]
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }]
}

5 comments on commit 6234d06

@vercel
Copy link

@vercel vercel bot commented on 6234d06 Dec 16, 2022

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:

snx-v3-docs – ./v3/docs

snx-v3-docs-git-master-synthetixio.vercel.app
snx-v3-docs.vercel.app
snx-v3-docs-synthetixio.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 6234d06 Dec 16, 2022

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:

v3-snx – ./v3/ui

v3-snx-git-master-synthetixio.vercel.app
v3.synthetix.io
v3-snx.vercel.app
v3-snx-synthetixio.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 6234d06 Dec 16, 2022

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:

v3-storybook – ./v3/theme

v3-storybook-git-master-synthetixio.vercel.app
v3-storybook-synthetixio.vercel.app
js-monorepo-ten.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 6234d06 Dec 16, 2022

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 6234d06 Dec 16, 2022

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:

v2-storybook – ./v2/ui

v2-storybook-synthetixio.vercel.app
staking-storybook.vercel.app
v2-storybook-git-master-synthetixio.vercel.app

Please sign in to comment.