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.
36 lines
785 B
JSON
36 lines
785 B
JSON
{
|
|
"name": "carbon",
|
|
"version": 2,
|
|
"public": true,
|
|
"builds": [{ "src": "package.json", "use": "@now/static-build" }],
|
|
"routes": [
|
|
{ "src": "^/about(.*)", "dest": "/about" },
|
|
{ "src": "^/embed(.*)", "dest": "/embed" },
|
|
{ "src": "^/_next/(.*)", "dest": "/_next/$1" },
|
|
{
|
|
"src": "^/service-worker.js$",
|
|
"dest": "/_next/service-worker.js",
|
|
"headers": {
|
|
"Service-Worker-Allowed": "/"
|
|
}
|
|
},
|
|
{
|
|
"src": "^/static/(.*)",
|
|
"dest": "/static/$1",
|
|
"headers": {
|
|
"cache-control": "public, max-age=43200, immutable"
|
|
}
|
|
},
|
|
{ "src": "^/(.*)", "dest": "/index.html" }
|
|
],
|
|
"build": {
|
|
"env": {
|
|
"NODE_ENV": "production"
|
|
}
|
|
},
|
|
"github": {
|
|
"autoAlias": false,
|
|
"silent": true
|
|
}
|
|
}
|