mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-22 10:33:22 +00:00
Fix testing of VA in local development (#245)
This commit is contained in:
@@ -471,6 +471,8 @@ async function lookupSpaceInMultiPathMode(request: NextRequest, url: URL): Promi
|
||||
};
|
||||
}
|
||||
const target = new URL(targetStr);
|
||||
target.search = url.search;
|
||||
|
||||
const visitorAuthToken = getVisitorAuthToken(request, target);
|
||||
|
||||
const lookup = await lookupSpaceByAPI(target, visitorAuthToken);
|
||||
|
||||
Reference in New Issue
Block a user