We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 373f18f commit eb6b977Copy full SHA for eb6b977
.changeset/healthy-parrots-call.md
@@ -0,0 +1,6 @@
1
+---
2
+"gitbook-v2": patch
3
+"gitbook": patch
4
5
+
6
+Fix URL in sitemap
packages/gitbook-v2/src/lib/links.ts
@@ -93,6 +93,10 @@ export function createLinker(
93
},
94
95
toAbsoluteURL(absolutePath: string): string {
96
+ if (absolutePath.startsWith('http://') || absolutePath.startsWith('https://')) {
97
+ return absolutePath;
98
+ }
99
100
if (!servedOn.host) {
101
return absolutePath;
102
}
0 commit comments