Skip to content

Commit

Permalink
add redirects for rpc endpoints that were previously inside hiro api …
Browse files Browse the repository at this point in the history
…section
  • Loading branch information
ryanwaits committed Oct 14, 2024
1 parent 1196bd9 commit d6dd2d7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@
{ "source": "/stacks.js/:path*", "destination": "/stacks/stacks.js", "permanent": true },
{ "source": "/stacks-blockchain-api/:path*", "destination": "/stacks/api", "permanent": true },
{ "source": "/api/:path*", "destination": "/stacks/api", "permanent": true },
{ "source": "/stacks/api/fees/estimate", "destination": "/stacks/rpc-api/fees/estimate", "permanent": true },
{ "source": "/stacks/api/fees/transfer-estimate", "destination": "/stacks/rpc-api/fees/transfer-estimate", "permanent": true },
{ "source": "/stacks/api/info/core-api", "destination": "/stacks/rpc-api/info/core-api", "permanent": true },
{ "source": "/stacks/api/info/pox-details", "destination": "/stacks/rpc-api/pox/pox-details", "permanent": true },
{ "source": "/stacks/api/names/name-price", "destination": "/stacks/rpc-api/names/name-price", "permanent": true },
{ "source": "/stacks/api/names/namespace-price", "destination": "/stacks/rpc-api/names/namespace-price", "permanent": true },
{ "source": "/stacks/api/smart-contracts/interface", "destination": "/stacks/rpc-api/smart-contracts/interface", "permanent": true },
{ "source": "/stacks/api/smart-contracts/map-entry", "destination": "/stacks/rpc-api/smart-contracts/map-entry", "permanent": true },
{ "source": "/stacks/api/smart-contracts/read-only", "destination": "/stacks/rpc-api/smart-contracts/read-only", "permanent": true },
{ "source": "/stacks/api/smart-contracts/source", "destination": "/stacks/rpc-api/smart-contracts/source", "permanent": true },
{ "source": "/stacks/api/transactions/broadcast-transaction", "destination": "/stacks/rpc-api/transactions/broadcast-transaction", "permanent": true },
{ "source": "/metadata/:path*", "destination": "/stacks/token-metadata-api", "permanent": true },
{ "source": "/token-metadata-api/:path*", "destination": "/stacks/token-metadata-api", "permanent": true },
{ "source": "/ordinals/api/:path*", "destination": "/bitcoin/ordinals/api", "permanent": true },
Expand Down

0 comments on commit d6dd2d7

Please sign in to comment.