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 a3b1c31 + 9c72690 commit ab3a43dCopy full SHA for ab3a43d
src/run/headers.ts
@@ -238,7 +238,7 @@ export const setCacheControlHeaders = (
238
// temporary diagnostic to evaluate number of trailing slash redirects
239
if (status === 308 && request.url.endsWith('/') !== nextConfig.trailingSlash) {
240
getLogger()
241
- .withFields({ trailingSlash: nextConfig.trailingSlash })
+ .withFields({ trailingSlash: nextConfig.trailingSlash, location: headers.get('location') })
242
.log('NetlifyHeadersHandler.trailingSlashRedirect')
243
}
244
0 commit comments