bump ver b
Some checks failed
ci / build (push) Failing after 1s
ci / Tests & Checks (push) Failing after 1s

This commit is contained in:
CJ_Clippy 2025-08-10 22:15:44 -08:00
parent b7a64d1fd3
commit 6456df16c7
4 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{
"name": "futureporn",
"private": true,
"version": "2.0.1",
"version": "2.2.0",
"type": "module",
"scripts": {
"dev": "concurrently npm:dev:serve npm:dev:build npm:dev:worker npm:dev:compose",

View File

@ -103,12 +103,12 @@ export default async function indexRoutes(fastify: FastifyInstance): Promise<voi
fastify.get('/version', function (request, reply) {
return reply.send(constants.site.version)
})
fastify.get('/pricing', async function (request, reply) {
fastify.get('/perks', async function (request, reply) {
const user = await getTargetUser(request, reply)
const cdnOrigin = env.CDN_ORIGIN;
const NODE_ENV = env.NODE_ENV;
const authPath = env.PATREON_AUTHORIZE_PATH
return reply.view('pricing.hbs', {
return reply.view('perks.hbs', {
user,
cdnOrigin,
NODE_ENV,

View File

@ -11,7 +11,7 @@
<li><a href="/vods">VODs</a></li>
<li><a href="/streams"><s>🚧 Streams</s></a></li>
<li><a href="/vtubers">VTubers</a></li>
<li><a href="/pricing">Pricing</a></li>
<li><a href="/perks">Perks</a></li>
{{#if (hasRole "supporterTier1" "moderator" "admin" user)}}
<li><a href="/uploads">Uploads</a></li>
{{/if}}

View File

@ -5,8 +5,8 @@
</header>
<main class="container pico">
<section id="pricing">
<h2>Pricing</h2>
<section id="perks">
<h2>Perks</h2>
<p>future.porn is free to use, but to keep the site running, we need your help! In return, we offer extra perks
to supporters.</p>