]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/extra-utils/users/user-notifications.ts
Refactor server errors handler
[github/Chocobozzz/PeerTube.git] / shared / extra-utils / users / user-notifications.ts
index 249e82925c0c7a241c17af2c99fa79e697f67dda..844f4442dafbb81ae4765fed78642dbbbe16e541 100644 (file)
@@ -431,7 +431,7 @@ async function checkNewCommentOnMyVideo (base: CheckerBaseParams, uuid: string,
     }
   }
 
-  const commentUrl = `http://localhost:${base.server.port}/videos/watch/${uuid};threadId=${threadId}`
+  const commentUrl = `http://localhost:${base.server.port}/w/${uuid};threadId=${threadId}`
 
   function emailNotificationFinder (email: object) {
     return email['text'].indexOf(commentUrl) !== -1