diff --git a/app/server/lib/sendAppPage.ts b/app/server/lib/sendAppPage.ts index 17b4e387..314486c0 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('icons/grist.svg', staticBaseUrl).href; + const icon = maybeDoc?.options?.icon ?? new URL('icons/grist.png', staticBaseUrl).href; const escapedIcon = handlebars.Utils.escapeExpression(icon); metadataElements.push(``); metadataElements.push(``); diff --git a/test/nbrowser/HomeIntro.ts b/test/nbrowser/HomeIntro.ts index 2c5aad62..edd163b0 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 = 'grist.svg'; + const gristIconFileName = 'grist.png'; 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 55ef7a15..e88581bf 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 = 'grist.svg'; + const gristIconFileName = 'grist.png'; 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);