Skip to content

Commit

Permalink
feat(notification-url): Send page URL with notification instead of ju…
Browse files Browse the repository at this point in the history
…st slug (#82)
  • Loading branch information
jbutz authored and g-div committed Oct 5, 2018
1 parent 453d33d commit 4e5ffae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/push/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function init(app, db, awaiting_moderation) {
const cnt = bySlug[k],
msg = {
message: `${cnt} new comment${cnt>1?'s':''} on "${k}" are awaiting moderation.`,
url: `/${k}`,
url: config.get('page_url').replace('%SLUG%', k),
sound: !!row.active ? 'pushover' : 'none'
};
delete bySlug[k];
Expand Down

0 comments on commit 4e5ffae

Please sign in to comment.