Compare commits

...

6 Commits

Author SHA1 Message Date
Taran Vohra 49829cb67d Merge branch 'main' into taran/site-proxy-domain 2025-03-28 20:08:08 +05:30
Taran Vohra 9c1ccb2f24 Merge branch 'main' into taran/site-proxy-domain 2025-03-26 21:15:30 +05:30
Taran Vohra 8f7f3aca64 Merge branch 'main' into taran/site-proxy-domain 2025-03-26 21:05:34 +05:30
taranvohra 6e28747f73 fix log 2025-03-26 16:54:57 +05:30
taranvohra 3bc2d1778a fix log 2025-03-26 16:46:38 +05:30
taranvohra 858db3f8b4 log values 2025-03-26 16:34:45 +05:30
+3
View File
@@ -360,6 +360,9 @@ async function serveWithQueryAPIToken(
* URL is taken from the pathname.
*/
function getSiteURLFromRequest(request: NextRequest): URLWithMode | null {
console.log('nextRequestUrl', request.nextUrl.toString());
Array.from(request.headers.entries()).forEach(([key, value]) => console.log(key, value));
const xGitbookUrl = request.headers.get('x-gitbook-url');
if (xGitbookUrl) {
return {