Show on main landing page restore, separately from permalink
This commit is contained in:
parent
5505f0dee2
commit
edcb6ca928
4 changed files with 119 additions and 19 deletions
|
|
@ -173,7 +173,7 @@ function try_send_show_notification($articleRefOrJob, $jobdir, $mvlog_root = nul
|
|||
|
||||
if ($articleTitle === '') $articleTitle = mvlog_nice_title((string)$job);
|
||||
|
||||
$articleUrl = './?id=' . rawurlencode($articleId);
|
||||
$articleUrl = is_file($jobdir . '/.mvlog-permalink') ? './?id=' . rawurlencode($articleId) : './';
|
||||
|
||||
$payload = json_encode([
|
||||
'title' => $articleTitle,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue