0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

🐛 Fixed __GHOST_URL__ tranformations in video cards

refs https://github.com/TryGhost/Ghost/issues/14344

- The video card containing thumbnail images did not pick up url tranformations (aka __GHOSt_URL__) needed to keep urls compatible across Ghost instancess.
- There's also a similar problem with product cards that will get a separate fix
This commit is contained in:
Naz 2022-03-31 19:33:26 +08:00
parent 20913f41c2
commit bf7d141407
2 changed files with 14 additions and 2 deletions

View file

@ -106,7 +106,7 @@
"@tryghost/string": "0.1.23", "@tryghost/string": "0.1.23",
"@tryghost/tpl": "0.1.13", "@tryghost/tpl": "0.1.13",
"@tryghost/update-check-service": "0.3.2", "@tryghost/update-check-service": "0.3.2",
"@tryghost/url-utils": "2.0.8", "@tryghost/url-utils": "2.1.0",
"@tryghost/validator": "0.1.18", "@tryghost/validator": "0.1.18",
"@tryghost/verification-trigger": "0.1.6", "@tryghost/verification-trigger": "0.1.6",
"@tryghost/version": "0.1.12", "@tryghost/version": "0.1.12",

View file

@ -2330,7 +2330,19 @@
lodash "^4.17.21" lodash "^4.17.21"
moment "^2.24.0" moment "^2.24.0"
"@tryghost/url-utils@2.0.8", "@tryghost/url-utils@^2.0.0": "@tryghost/url-utils@2.1.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@tryghost/url-utils/-/url-utils-2.1.0.tgz#5b30921eeb27fdcb9c1fc1360879a0d99304ddf2"
integrity sha512-3oID3Pzgew17eZF6YpJvG4Iy8F5CDealvcZ3zRwGFBT/oSUBGHY4nQfAUAH0Uo7dPAEDx9zOcMyNk/cJ/VN3nQ==
dependencies:
cheerio "^0.22.0"
moment "^2.27.0"
moment-timezone "^0.5.31"
remark "^11.0.2"
remark-footnotes "^1.0.0"
unist-util-visit "^2.0.0"
"@tryghost/url-utils@^2.0.0":
version "2.0.8" version "2.0.8"
resolved "https://registry.yarnpkg.com/@tryghost/url-utils/-/url-utils-2.0.8.tgz#010ed41fb50e82966839c5bd43ae7b7d38a77e06" resolved "https://registry.yarnpkg.com/@tryghost/url-utils/-/url-utils-2.0.8.tgz#010ed41fb50e82966839c5bd43ae7b7d38a77e06"
integrity sha512-jYz7KHEs6H8lnMkg2/eB9S2lPy8DfUxoMMjO891rrLuALTZW1d7wmfjtyZDMLccT4eXX3wdXXNrFcUC5tUQTxA== integrity sha512-jYz7KHEs6H8lnMkg2/eB9S2lPy8DfUxoMMjO891rrLuALTZW1d7wmfjtyZDMLccT4eXX3wdXXNrFcUC5tUQTxA==