We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff2632f commit 9c72690Copy full SHA for 9c72690
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