Skip to content

Commit

Permalink
Remove rewrites
Browse files Browse the repository at this point in the history
  • Loading branch information
noisekit committed Dec 16, 2022
1 parent 5bca8a5 commit 8a32efd
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" }]
}

0 comments on commit 8a32efd

Please sign in to comment.