enable manual analytics for 404 video pages, debugging weird behaviour
This commit is contained in:
parent
26adf1a3d2
commit
8cdd4c7cbb
|
|
@ -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'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue