diff --git a/app/server/lib/sendAppPage.ts b/app/server/lib/sendAppPage.ts index cc086341..17b4e387 100644 --- a/app/server/lib/sendAppPage.ts +++ b/app/server/lib/sendAppPage.ts @@ -295,7 +295,7 @@ function getPageMetadataHtmlSnippet(req: express.Request, config: GristLoadConfi metadataElements.push(``); metadataElements.push(``); - const icon = maybeDoc?.options?.icon ?? new URL('img/icon-grist.png', staticBaseUrl).href; + const icon = maybeDoc?.options?.icon ?? new URL('icons/grist.svg', staticBaseUrl).href; const escapedIcon = handlebars.Utils.escapeExpression(icon); metadataElements.push(``); metadataElements.push(``); diff --git a/static/img/icon-grist.png b/static/img/icon-grist.png deleted file mode 100644 index f4e9f56f..00000000 Binary files a/static/img/icon-grist.png and /dev/null differ diff --git a/test/nbrowser/HomeIntro.ts b/test/nbrowser/HomeIntro.ts index 14e4cabc..2c5aad62 100644 --- a/test/nbrowser/HomeIntro.ts +++ b/test/nbrowser/HomeIntro.ts @@ -140,7 +140,7 @@ describe('HomeIntro', function() { assert.equal(await driver.find('meta[name="twitter:description"]').getAttribute('content'), expectedDescription); assert.equal(await driver.find('meta[property="og:description"]').getAttribute('content'), expectedDescription); - const gristIconFileName = 'icon-grist.png'; + const gristIconFileName = 'grist.svg'; assert.include(await driver.find('meta[name="thumbnail"]').getAttribute('content'), gristIconFileName); assert.include(await driver.find('meta[name="twitter:image"]').getAttribute('content'), gristIconFileName); assert.include(await driver.find('meta[property="og:image"]').getAttribute('content'), gristIconFileName); diff --git a/test/nbrowser/NewDocument.ntest.js b/test/nbrowser/NewDocument.ntest.js index 5251f2cb..55ef7a15 100644 --- a/test/nbrowser/NewDocument.ntest.js +++ b/test/nbrowser/NewDocument.ntest.js @@ -29,7 +29,7 @@ describe('NewDocument.ntest', function() { assert.equal(await driver.find('meta[name="twitter:description"]').getAttribute('content'), expectedDescription); assert.equal(await driver.find('meta[property="og:description"]').getAttribute('content'), expectedDescription); - const gristIconFileName = 'icon-grist.png'; + const gristIconFileName = 'grist.svg'; assert.include(await driver.find('meta[name="thumbnail"]').getAttribute('content'), gristIconFileName); assert.include(await driver.find('meta[name="twitter:image"]').getAttribute('content'), gristIconFileName); assert.include(await driver.find('meta[property="og:image"]').getAttribute('content'), gristIconFileName);