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, { app.register(fastifyCaching, {
expiresIn: 300, expiresIn: 300,
privacy: 'private', privacy: 'private',

View File

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