From 3d945f419669f6c753505742b6e69a3b8773d0fe Mon Sep 17 00:00:00 2001 From: Kevin Jennison Date: Mon, 20 Jul 2020 15:04:09 -0700 Subject: [PATCH] Disable trailing slash --- next.config.js | 2 +- vercel.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/next.config.js b/next.config.js index dd1e7558..66fd91c7 100644 --- a/next.config.js +++ b/next.config.js @@ -33,7 +33,7 @@ const nextConfig = { // We also set the trailing slash preference in vercel.json. // Trailing slash stable in v9.4.5-canary.41: // https://github.com/vercel/next.js/releases/tag/v9.4.5-canary.41 - trailingSlash: true, + trailingSlash: false, // async redirects() { // return [ // // This is for convenience in local development and when diff --git a/vercel.json b/vercel.json index 112f88be..06ab4861 100644 --- a/vercel.json +++ b/vercel.json @@ -4,7 +4,7 @@ "scope": "gladly-team", "alias": ["dev-tab-web"], "cleanUrls": false, - "trailingSlash": true, + "trailingSlash": false, "headers": [ { "source": "/newtab/service-worker.js",