Skip to content

Commit be2655c

Browse files
authored
Merge pull request #2 from Developerayo/next
@now/next
2 parents 981c17c + 3c77723 commit be2655c

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)