cred402/frontend/vercel.json
caelum0x 1e5bf587c8 feat: public credit-API landing, pricing & docs pages for discovery
Add crawlable static marketing/discovery surface for the live pay-per-call
credit-score endpoint (GET /v1/x402/credit-score/:agentId, 0.01 USDC over x402
on Algorand):

- frontend/public/pricing.html — SEO-optimized landing + pricing page
  (targets 'agent credit bureau' / 'credit for x402 agents', JSON-LD Product
  offer, real price table, request/response example)
- frontend/public/api-docs.html — quickstart with curl + TypeScript + Python
  x402 examples, response schema, status codes, discovery
- vercel.json — clean /pricing and /docs rewrites to the static pages

Marketing/docs only. No payment, settlement, contract, or key code touched.
2026-09-06 09:49:58 +03:00

15 lines
631 B
JSON

{
"$schema": "https://openapi.vercel.sh/vercel.json",
"framework": "vite",
"buildCommand": "npm run build",
"outputDirectory": "dist",
"rewrites": [
{ "source": "/api/:path*", "destination": "https://cred402-1.onrender.com/api/:path*" },
{ "source": "/v1/:path*", "destination": "https://cred402-1.onrender.com/v1/:path*" },
{ "source": "/graphql", "destination": "https://cred402-1.onrender.com/graphql" },
{ "source": "/pricing", "destination": "/pricing.html" },
{ "source": "/docs", "destination": "/api-docs.html" },
{ "source": "/((?!assets/|.*\\.).*)", "destination": "/index.html" }
]
}