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 1505ddb commit bc90adbCopy full SHA for bc90adb
.changeset/fluffy-planes-kick.md
@@ -0,0 +1,5 @@
1
+---
2
+"gitbook": patch
3
4
+
5
+Fix favicon not being displayed in Google because `robots.txt` was preventing the indexation of the image route
packages/gitbook/src/routes/robots.ts
@@ -10,8 +10,6 @@ export async function serveRobotsTxt(context: GitBookSiteContext) {
10
const isRoot = checkIsRootSiteContext(context);
11
const lines = [
12
'User-agent: *',
13
- // Disallow image resizing
14
- 'Disallow: /~gitbook/',
15
// Disallow dynamic routes / search queries
16
'Disallow: /*?',
17
...((await isSiteIndexable(context))
0 commit comments