Release v0.4: Add PornHub support / Server-side streaming / Plyr.js / Video srcset #96

Merged
lamacchinadesiderante merged 18 commits from feature/pornhub-support into develop 2024-05-25 11:46:42 +00:00
2 changed files with 5 additions and 6 deletions
Showing only changes of commit f2cc39adae - Show all commits

View File

@ -1,6 +1,6 @@
# PHASE 1: copy and build
FROM node:22.0.0-alpine3.19 AS build
FROM node:22.2.0-alpine3.19 AS build
WORKDIR /app
@ -10,7 +10,7 @@ RUN rm -rf node_modules && npm install && npm run build
# PHASE 2: prepare for exec
FROM node:22.0.0-alpine3.19 AS exec
FROM node:22.2.0-alpine3.19 AS exec
WORKDIR /app

View File

@ -1,10 +1,9 @@
const EX_HOURLY = 60 * 60
const EX_DAILY = 60 * 60 * 24
export const DEFAULT_XVIDEOS_CONTENT_EXPIRY = { EX: EX_DAILY };
export const DEFAULT_XNXX_CONTENT_EXPIRY = { EX: EX_DAILY };
export const DEFAULT_PORNHUB_GALLERY_EXPIRY = { EX: EX_DAILY};
export const DEFAULT_PORNHUB_GALLERY_EXPIRY = { EX: EX_HOURLY };
export const DEFAULT_PORNHUB_VIDEO_EXPIRY = { EX: EX_HOURLY };
export const DEFAULT_XVIDEOS_CONTENT_EXPIRY = { EX: EX_HOURLY };
export const DEFAULT_XNXX_CONTENT_EXPIRY = { EX: EX_HOURLY };
export const DEFAULT_RELATED_VIDEO_KEY_PATH = '/related/'