Skip to content

Commit

Permalink
Atlas meta-server build fix (#4388)
Browse files Browse the repository at this point in the history
* Fixed metaserver build issue (#4386)

---------

Co-authored-by: Artem <Artem Slugin>
  • Loading branch information
attemka authored Jul 5, 2023
1 parent 7aebefb commit 17c6d33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/atlas-meta-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joystream/atlas-meta-server",
"version": "1.3.0",
"version": "1.3.1",
"description": "Node server for pre rendering html meta tags",
"license": "GPL-3.0",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/atlas-meta-server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ app.get('/video/:id', async (req, res) => {

const thumbnailUrl = video.thumbnailPhoto ? generateAssetUrl(video.thumbnailPhoto) : ''

const videoMetaTags = generateVideoMetaTags(video, thumbnailUrl, appData.name, APP_URL, appData.twitterId)
const videoMetaTags = generateVideoMetaTags(video, [thumbnailUrl], appData.name, APP_URL, appData.twitterId)
const videoSchemaTagsHtml = generateVideoSchemaTagsHtml(video, thumbnailUrl, appData.name, APP_URL)

applyMetaTagsToHtml(html, videoMetaTags)
Expand Down

0 comments on commit 17c6d33

Please sign in to comment.