{
"version": 2,
"name": "holonbot",
"functions": {
"api/*.js": {
"memory": 512,
"maxDuration": 30
}
},
"env": {
"NODE_ENV": "production",
"LOG_LEVEL": "info"
},
"headers": [
{
"source": "/api/(.*)",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Allow-Methods",
"value": "POST, OPTIONS"
},
{
"key": "Access-Control-Allow-Headers",
"value": "Content-Type, X-GitHub-Event, X-GitHub-Delivery, X-Hub-Signature-256"
}
]
}
],
"rewrites": [
{
"source": "/github-webhook",
"destination": "/api/github-webhook"
}
]
}