-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #446 from 0xProject/feature/redirect-to-docs
Add full support for Vercel and add redirects for now deprecated docs
- Loading branch information
Showing
5 changed files
with
44 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"redirects": [ | ||
{ | ||
"source": "/docs/api", | ||
"destination": "https://docs.0x.org/0x-api-swap/api-references", | ||
"permanent": true | ||
}, | ||
{ | ||
"source": "/docs/core-concepts", | ||
"destination": "https://docs.0x.org/introduction/introduction-to-0x", | ||
"permanent": true | ||
}, | ||
{ | ||
"source": "/docs/tools", | ||
"destination": "https://docs.0x.org/", | ||
"permanent": true | ||
}, | ||
{ | ||
"source": "/docs/guides", | ||
"destination": "https://docs.0x.org/introduction/guides", | ||
"permanent": true | ||
}, | ||
{ | ||
"source": "/docs/:path*", | ||
"destination": "https://docs.0x.org/:path*", | ||
"permanent": true | ||
}, | ||
{ | ||
"source": "/docs", | ||
"destination": "https://docs.0x.org/", | ||
"permanent": true | ||
} | ||
], | ||
"rewrites": [{ "source": "/:path+", "destination": "/" }] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68acc43
There was a problem hiding this comment.
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: