Skip to content

Commit 59a0e2b

Browse files
committed
add log
1 parent 90604c4 commit 59a0e2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/gitbook-v2/src/middleware.ts

+1
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ function getSiteURLFromRequest(request: NextRequest): URLWithMode | null {
200200
}
201201

202202
const xForwardedHost = request.headers.get('x-forwarded-host');
203+
console.log('x-forwarded-host', xForwardedHost);
203204
// The x-forwarded-host is set by Vercel for all requests
204205
// so we ignore it if the hostname is the same as the instance one.
205206
if (xForwardedHost) {

0 commit comments

Comments
 (0)