enable manual analytics for 404 video pages, debugging weird behaviour

This commit is contained in:
localhost 2025-11-01 22:13:41 +01:00
parent 26adf1a3d2
commit 8cdd4c7cbb
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ app.get('/watch', async ({ query: { v }, set, redirect, error }) => {
const html = await m(eta.render('./watch', { const html = await m(eta.render('./watch', {
isMissing: true, isMissing: true,
id: v, id: v,
title: 'Video Not Found | PreserveTube' title: 'Video Not Found | PreserveTube',
manualAnalytics: true
})) }))
set.headers['cache-control'] = 'public, no-cache' set.headers['cache-control'] = 'public, no-cache'