Skip to content

Commit 3c77723

Browse files
committed
@now/next
1 parent 8afcccb commit 3c77723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

now.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "NextJS Json Api Route",
44
"alias": "nextjs-json-api-route.now.sh",
55
"builds": [
6-
{"src": "package.json", "use": "@now/static-build", "config": {"distDir": "build"}}
6+
{"src": "package.json", "use": "@now/next", "config": {"distDir": "build"}}
77
],
88
"routes": [
99
{"src": "/static/(.*)", "headers": {"cache-control": "s-maxage=31536000,immutable"}, "dest": "/static/$1"},

0 commit comments

Comments
 (0)