improve formatting

This commit is contained in:
CJ_Clippy 2025-08-12 00:23:47 -08:00
parent 90e8da3246
commit db3977940f
2 changed files with 117 additions and 109 deletions

View File

@ -180,6 +180,7 @@ export function buildApp() {
}
})
// @todo we are going to need to use redis or similar https://github.com/fastify/fastify-caching
app.register(fastifyCaching, {
expiresIn: 300,
privacy: 'private',

View File

@ -123,6 +123,7 @@
<h3>VOD</h3>
<article>
{{#if vod.sourceVideo}}
{{#if (hasRole "supporterTier1" user)}}
@ -155,9 +156,11 @@
Magnet Link is processing.
</article>
{{/if}}
</article>
<h4>Raw Segments</h4>
<article>
{{#if vod.segmentKeys}}
{{#if (hasRole "supporterTier1" user)}}
<ul>
@ -181,8 +184,9 @@
<article>
This VOD has no file segments.
</article>
{{/if}} {{!-- end of raw segments --}}
{{/if}} {{!-- end of raw segments --}}
</article>
@ -198,6 +202,7 @@
<h4>HLS Playlist</h4>
<article>
{{#if vod.hlsPlaylist}}
{{#if (hasRole "supporterTier1" user)}}
<a href="{{signedHlsUrl vod.hlsPlaylist}}">{{signedHlsUrl vod.hlsPlaylist}}</a>
@ -214,6 +219,7 @@
HLS Playlist is processing.
</article>
{{/if}}
</article>
<h4>Thumbnail Image</h4>
{{#if vod.thumbnail}}
@ -228,6 +234,7 @@
<h4>Funscripts (sex toy sync)</h4>
<article>
{{#if vod.funscript}}
{{#if (hasRole "supporterTier1" user)}}
@ -256,10 +263,10 @@
Funscript file is processing.
</article>
{{/if}}
</article>
<h4>Closed Captions / Subtitles</h4>
<article>
{{#if vod.asrVttKey}}
{{#if (hasRole "supporterTier1" user)}}
@ -274,7 +281,7 @@
</del>
</p>
{{/if}}
</article>
{{else}}