mirror of https://github.com/sgoudham/carbon.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
740 B
JSON
43 lines
740 B
JSON
{
|
|
"alias": "carbon.now.sh",
|
|
"version": 2,
|
|
"public": true,
|
|
"builds": [
|
|
{
|
|
"src": "package.json",
|
|
"use": "@now/next"
|
|
},
|
|
{
|
|
"src": "api/image/index.js",
|
|
"use": "@now/node",
|
|
"config": {
|
|
"maxLambdaSize": "40mb"
|
|
}
|
|
}
|
|
],
|
|
"routes": [
|
|
{
|
|
"src": "^/service-worker.js$",
|
|
"dest": "/_next/static/service-worker.js",
|
|
"headers": {
|
|
"Service-Worker-Allowed": "/"
|
|
}
|
|
},
|
|
{
|
|
"src": "/api/image/?(?<id>[^/]*)",
|
|
"dest": "api/image/index.js?id=$id",
|
|
"methods": [
|
|
"POST",
|
|
"GET"
|
|
]
|
|
},
|
|
{
|
|
"src": "/api(/.*)?$",
|
|
"status": 404
|
|
}
|
|
],
|
|
"github": {
|
|
"autoAlias": false,
|
|
"silent": true
|
|
}
|
|
} |