bump ver b
This commit is contained in:
parent
b7a64d1fd3
commit
6456df16c7
@ -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",
|
||||
|
@ -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,
|
||||
|
@ -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}}
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user