We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 981c17c + 3c77723 commit be2655cCopy full SHA for be2655c
now.json
@@ -3,7 +3,7 @@
3
"name": "NextJS Json Api Route",
4
"alias": "nextjs-json-api-route.now.sh",
5
"builds": [
6
- {"src": "package.json", "use": "@now/static-build", "config": {"distDir": "build"}}
+ {"src": "package.json", "use": "@now/next", "config": {"distDir": "build"}}
7
],
8
"routes": [
9
{"src": "/static/(.*)", "headers": {"cache-control": "s-maxage=31536000,immutable"}, "dest": "/static/$1"},
0 commit comments