Skip to content

Commit 5f85943

Browse files
authored
fix: sitemap nested index issue (#121)
* fix: sitemap nested index issue * fix: sitemap nested index issue
1 parent 005551d commit 5f85943

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/preview.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
NEXT_PUBLIC_HOME_URL: https://fastgpt.io
4444
NEXT_PUBLIC_USER_URL: https://cloud.fastgpt.io
4545
run: |
46-
cd projects/fastgpt
4746
npm install
4847
npm run build
4948

next-sitemap.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ module.exports = {
122122
allow: '/',
123123
disallow: ['/api/', '/admin/']
124124
}
125-
],
126-
additionalSitemaps: [`${process.env.NEXT_PUBLIC_HOME_URL || 'https://fastgpt.io'}/sitemap.xml`]
125+
]
127126
}
128127
};

0 commit comments

Comments
 (0)