0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-15 03:01:37 -05:00

Added adminUrl to comments helper script data

refs https://github.com/TryGhost/Team/issues/1664
This commit is contained in:
Fabien "egg" O'Carroll 2022-07-05 15:30:00 +02:00 committed by Simon Backx
parent 7d22384d7f
commit 3e1e5b6760

View file

@ -14,6 +14,7 @@ async function comments() {
const data = {
'ghost-comments': urlUtils.getSiteUrl(),
api: urlUtils.urlFor('api', {type: 'content'}, true),
admin: urlUtils.urlFor('admin', true),
key: frontendKey,
'post-id': this.id,
'sentry-dsn': '' /* todo: insert sentry dsn key here */