mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Updated comments helper to inject comments-ui version
refs https://github.com/TryGhost/Team/issues/1664 This is required so that the comments ui can correctly load assets from unpkg
This commit is contained in:
parent
d05b94a975
commit
34047737b8
@ -36,7 +36,8 @@ async function comments(options) {
|
||||
'sentry-dsn': '', /* todo: insert sentry dsn key here */
|
||||
'color-scheme': colorScheme,
|
||||
'avatar-saturation': avatarSaturation,
|
||||
'accent-color': accentColor
|
||||
'accent-color': accentColor,
|
||||
'app-version': config.get('comments:version')
|
||||
};
|
||||
|
||||
let dataAttributes = '';
|
||||
|
@ -149,6 +149,7 @@
|
||||
"url": "https://www.gravatar.com/avatar/{hash}?s={size}&r={rating}&d={_default}"
|
||||
},
|
||||
"comments": {
|
||||
"url": "https://unpkg.com/@tryghost/comments@~0.0.0/umd/portal.min.js"
|
||||
"url": "https://unpkg.com/@tryghost/comments-ui@~0.1.0/umd/comments-ui.min.js",
|
||||
"version": "0.1.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user