From 3e1e5b6760f802cf8551d0f742f005e54959b2a8 Mon Sep 17 00:00:00 2001 From: "Fabien \"egg\" O'Carroll" Date: Tue, 5 Jul 2022 15:30:00 +0200 Subject: [PATCH] Added adminUrl to comments helper script data refs https://github.com/TryGhost/Team/issues/1664 --- core/frontend/helpers/comments.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/frontend/helpers/comments.js b/core/frontend/helpers/comments.js index c52283199a..11a4096b6f 100644 --- a/core/frontend/helpers/comments.js +++ b/core/frontend/helpers/comments.js @@ -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 */