mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
Use redirect instead of rewrite
This commit is contained in:
parent
7d083ee187
commit
c3c8c5e8e7
1 changed files with 3 additions and 8 deletions
11
vercel.json
11
vercel.json
|
@ -1,14 +1,9 @@
|
||||||
{
|
{
|
||||||
"rewrites": [
|
"redirects": [
|
||||||
{
|
{
|
||||||
"source": "/:path*",
|
"source": "/:path*",
|
||||||
"has": [
|
"destination": "https://carbon-components-svelte.onrender.com/:path*",
|
||||||
{
|
"permanent": true
|
||||||
"type": "host",
|
|
||||||
"value": "carbon-svelte.vercel.app"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"destination": "https://carbon-components-svelte.onrender.com/:path*"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue