badgen.net/vercel.json

20 wiersze
551 B
JSON

{
"version": 2,
"regions": ["all"],
"builds": [
{ "src": "package.json", "use": "@now/static-build" },
{ "src": "api/*.ts", "use": "@now/node" }
],
"routes": [
{ "src": "/docs/(.*)", "status": 301, "headers": { "Location": "/$1" } },
{ "src": "/builder", "dest": "/builder.html" },
{ "src": "/(?<name>[^/]+).*", "dest": "/api/$name.ts" }
],
"env": {
"GH_TOKENS": "@badgen-gh-tokens",
"SENTRY_DSN": "@badgen-sentry-dsn",
"TRACKING_GA": "@badgen-tracking-ga",
"GITLAB_TOKENS": "@badgen-gl-tokens"
}
}