bump ver b
This commit is contained in:
parent
b7a64d1fd3
commit
6456df16c7
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "futureporn",
|
"name": "futureporn",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.0.1",
|
"version": "2.2.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "concurrently npm:dev:serve npm:dev:build npm:dev:worker npm:dev:compose",
|
"dev": "concurrently npm:dev:serve npm:dev:build npm:dev:worker npm:dev:compose",
|
||||||
@ -97,4 +97,4 @@
|
|||||||
"prisma": {
|
"prisma": {
|
||||||
"seed": "tsx prisma/seed.ts"
|
"seed": "tsx prisma/seed.ts"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -103,12 +103,12 @@ export default async function indexRoutes(fastify: FastifyInstance): Promise<voi
|
|||||||
fastify.get('/version', function (request, reply) {
|
fastify.get('/version', function (request, reply) {
|
||||||
return reply.send(constants.site.version)
|
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 user = await getTargetUser(request, reply)
|
||||||
const cdnOrigin = env.CDN_ORIGIN;
|
const cdnOrigin = env.CDN_ORIGIN;
|
||||||
const NODE_ENV = env.NODE_ENV;
|
const NODE_ENV = env.NODE_ENV;
|
||||||
const authPath = env.PATREON_AUTHORIZE_PATH
|
const authPath = env.PATREON_AUTHORIZE_PATH
|
||||||
return reply.view('pricing.hbs', {
|
return reply.view('perks.hbs', {
|
||||||
user,
|
user,
|
||||||
cdnOrigin,
|
cdnOrigin,
|
||||||
NODE_ENV,
|
NODE_ENV,
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<li><a href="/vods">VODs</a></li>
|
<li><a href="/vods">VODs</a></li>
|
||||||
<li><a href="/streams"><s>🚧 Streams</s></a></li>
|
<li><a href="/streams"><s>🚧 Streams</s></a></li>
|
||||||
<li><a href="/vtubers">VTubers</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)}}
|
{{#if (hasRole "supporterTier1" "moderator" "admin" user)}}
|
||||||
<li><a href="/uploads">Uploads</a></li>
|
<li><a href="/uploads">Uploads</a></li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main class="container pico">
|
<main class="container pico">
|
||||||
<section id="pricing">
|
<section id="perks">
|
||||||
<h2>Pricing</h2>
|
<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
|
<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>
|
to supporters.</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user