We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90604c4 commit 59a0e2bCopy full SHA for 59a0e2b
packages/gitbook-v2/src/middleware.ts
@@ -200,6 +200,7 @@ function getSiteURLFromRequest(request: NextRequest): URLWithMode | null {
200
}
201
202
const xForwardedHost = request.headers.get('x-forwarded-host');
203
+ console.log('x-forwarded-host', xForwardedHost);
204
// The x-forwarded-host is set by Vercel for all requests
205
// so we ignore it if the hostname is the same as the instance one.
206
if (xForwardedHost) {
0 commit comments