From 3c7772376b95bb5b6b5408112e46213fda5d9d16 Mon Sep 17 00:00:00 2001 From: Shodipo Ayomide Date: Sat, 24 Aug 2019 14:00:34 +0400 Subject: [PATCH] @now/next --- now.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/now.json b/now.json index 7e9cd63..8fa2706 100644 --- a/now.json +++ b/now.json @@ -3,7 +3,7 @@ "name": "NextJS Json Api Route", "alias": "nextjs-json-api-route.now.sh", "builds": [ - {"src": "package.json", "use": "@now/static-build", "config": {"distDir": "build"}} + {"src": "package.json", "use": "@now/next", "config": {"distDir": "build"}} ], "routes": [ {"src": "/static/(.*)", "headers": {"cache-control": "s-maxage=31536000,immutable"}, "dest": "/static/$1"},