Skip to content

Commit 1688bbd

Browse files
slusarzcmouse
authored andcommitted
vitepress: Fix sitemap generation
1 parent 87fb7fd commit 1688bbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.vitepress/config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { dovecotMdExtend } from '../lib/markdown.js'
66
import { getExcludes } from '../lib/utility.js'
77

88
const base = '/2.4'
9+
const base_url = 'https://doc.dovecot.org'
910

1011
export const dovecotConfig = {
1112
data_paths: {
@@ -52,7 +53,7 @@ export default defineConfig({
5253

5354
base: base,
5455
sitemap: {
55-
hostname: 'https://doc.dovecot.org' + base
56+
hostname: base_url + base + '/'
5657
},
5758

5859
vite: {

0 commit comments

Comments
 (0)