d8571781ed
d16ae73c
## Issue
dev instances are also affected.
## Change
Use another env to enable the feature.
The cleaner solution that avoids the double env is to simply not make MIN_VERSION appear in the default file + define only in production instances. But putting it in the default file makes things clearer, plus easier to "bump + build" by just pushing a new commit.
121 lines
4.5 KiB
Text
121 lines
4.5 KiB
Text
####### .env.default #########
|
|
|
|
# Copy this file to .env to make modifications
|
|
|
|
# --- Minimum Version (Format: YYYYMMDDNNN) ---
|
|
# Bump this when we want to nudge the user to refresh.
|
|
MINIMUM_VERSION=20220708001
|
|
|
|
# This is 'false' in the production instances:
|
|
IGNORE_MINIMUM_VERSION=true
|
|
|
|
# --- Base config ---
|
|
WEBPACK_WEB_PORT=9090
|
|
WEBPACK_ELECTRON_PORT=9091
|
|
WEB_SERVER_PORT=1337
|
|
|
|
# -- APIs ---
|
|
LBRY_WEB_API=https://api.na-backend.odysee.com
|
|
LBRY_WEB_PUBLISH_API=https://publish.na-backend.odysee.com/v1
|
|
LBRY_WEB_PUBLISH_API_V2=https://publish.na-backend.odysee.com/api/v2/publish/
|
|
LBRY_WEB_BUFFER_API=https://collector-service.api.lbry.tv/api/v1/events/video
|
|
LBRY_API_URL=https://api.odysee.com
|
|
COMMENT_SERVER_API=https://comments.odysee.tv/api/v2
|
|
SEARCH_SERVER_API_ALT=https://recsys.odysee.tv/search
|
|
SEARCH_SERVER_API=https://lighthouse.odysee.tv/search
|
|
SOCKETY_SERVER_API=wss://sockety.odysee.tv/ws
|
|
RECSYS_ENDPOINT=https://recsys.odysee.tv/v1/lvv
|
|
RECSYS_FYP_ENDPOINT=https://recsys.odysee.tv/v1/u
|
|
# -Disable boost due to instability:
|
|
# IMAGE_PROXY_URL=https://boost.vanwanet.com/index.php
|
|
THUMBNAIL_CDN_URL=https://thumbnails.odycdn.com/optimize/
|
|
THUMBNAIL_CARDS_CDN_URL=https://thumbnails.odycdn.com/card/s:1280:720/quality:85/plain/
|
|
LOCALE_API=https://api.odysee.com/legal/requirements
|
|
THUMBNAIL_HEIGHT=220
|
|
THUMBNAIL_HEIGHT_POSTER=720
|
|
THUMBNAIL_WIDTH=390
|
|
THUMBNAIL_WIDTH_POSTER=1280
|
|
THUMBNAIL_QUALITY=85
|
|
THUMBNAIL_CDN_SIZE_LIMIT_BYTES=5242880
|
|
PLAYER_SERVER=https://player.odycdn.com
|
|
WELCOME_VERSION=1.0
|
|
|
|
# --- Stripe ---
|
|
# STRIPE_PUBLIC_KEY='pk_test_NoL1JWL7i1ipfhVId5KfDZgo'
|
|
|
|
# --- OG ---
|
|
OG_TITLE_SUFFIX=| odysee.com
|
|
OG_HOMEPAGE_TITLE=Odysee
|
|
OG_IMAGE_URL=https://thumbnails.odycdn.com/optimize/s:1200:630/quality:85/plain/https://spee.ch/odysee-og:e.png
|
|
SITE_CANONICAL_URL=odysee.com
|
|
|
|
# --- UI ---
|
|
DOMAIN=odysee.com
|
|
URL=https://odysee.com
|
|
SITE_TITLE=Odysee
|
|
SITE_NAME=Odysee
|
|
SITE_DESCRIPTION=Explore a whole universe of videos on Odysee from regular people just like you!
|
|
SITE_HELP_EMAIL=help@odysee.com
|
|
LOGO_TITLE=odysee
|
|
TWITTER_ACCOUNT=OdyseeTeam
|
|
LOADING_BAR_COLOR=#e50054
|
|
|
|
BRANDED_SITE=odysee
|
|
SIMPLE_SITE=false
|
|
ENABLE_WILD_WEST=true
|
|
CUSTOM_HOMEPAGE=false
|
|
SHOW_ADS=true
|
|
ENABLE_MATURE=false
|
|
ENABLE_UI_NOTIFICATIONS=true
|
|
#SHOW_TAGS_INTRO=false
|
|
USE_LOCAL_HOMEPAGE_DATA=true
|
|
|
|
AUTO_FOLLOW_CHANNELS=lbry://@lbry#3fda836a92faaceedfe398225fb9b2ee2ed1f01a
|
|
|
|
# --- Image Assets ---
|
|
YRBL_HAPPY_IMG_URL=https://thumbnails.odycdn.com/optimize/s:300:300/quality:85/plain/https://spee.ch/spaceman-happy:a.png
|
|
YRBL_SAD_IMG_URL=https://thumbnails.odycdn.com/optimize/s:300:300/quality:85/plain/https://spee.ch/spaceman-sad:d.png
|
|
LOGIN_IMG_URL=https://thumbnails.odycdn.com/optimize/s:400:507/quality:85/plain/https://player.odycdn.com/speech/odysee-sign-up:d.png
|
|
LOGO=https://thumbnails.odycdn.com/optimize/s:100:100/quality:85/plain/https://spee.ch/odysee-logo-png:3.png
|
|
LOGO_WHITE_TEXT=https://thumbnails.odycdn.com/optimize/s:1000:300/quality:85/plain/https://spee.ch/odysee-white-png:f.png
|
|
LOGO_DARK_TEXT=https://thumbnails.odycdn.com/optimize/s:1000:300/quality:85/plain/https://spee.ch/odysee-png:2.png
|
|
AVATAR_DEFAULT=https://thumbnails.odycdn.com/optimize/s:160:160/quality:85/plain/https://spee.ch/spaceman-png:2.png
|
|
MISSING_THUMB_DEFAULT=https://thumbnails.odycdn.com/optimize/s:390:220/quality:85/plain/https://spee.ch/missing-thumb-png
|
|
FAVICON=https://odysee.com/public/favicon-spaceman.png
|
|
|
|
# --- Locale ---
|
|
DEFAULT_LANGUAGE=en
|
|
|
|
# --- Custom Settings ---
|
|
# Additional settings for below are found in ui/constants/settings and are for
|
|
# preventing user settings from applying to custom sites without overwriting them.
|
|
# UNSYNCED_SETTINGS='theme dark_mode_times automatic_dark_mode_enabled'
|
|
|
|
# --- Linked Content Whitelist ---
|
|
KNOWN_APP_DOMAINS=open.lbry.com,lbry.tv,lbry.lat,odysee.com
|
|
|
|
# --- Features & Limits ---
|
|
CHANNEL_CREATION_LIMIT=5
|
|
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS=4
|
|
ENABLE_COMMENT_REACTIONS=true
|
|
ENABLE_CREATOR_REACTIONS=true
|
|
ENABLE_FILE_REACTIONS=true
|
|
ENABLE_NO_SOURCE_CLAIMS=true
|
|
ENABLE_PREROLL_ADS=true
|
|
LIGHTHOUSE_DEFAULT_TYPES=audio,video
|
|
WEB_PUBLISH_SIZE_LIMIT_GB=4
|
|
|
|
#ENABLE_PAID_CONTENT=true
|
|
|
|
# --- Firebase ---
|
|
FIREBASE_API_KEY=AIzaSyAgc-4QORyglpYZ3qH9E5pDauEDOJXgM3A
|
|
FIREBASE_AUTH_DOMAIN=lbry-mobile.firebaseapp.com
|
|
FIREBASE_PROJECT_ID=lbry-mobile
|
|
FIREBASE_STORAGE_BUCKET=lbry-mobile.appspot.com
|
|
FIREBASE_MESSAGING_SENDER_ID=638894153788
|
|
FIREBASE_APP_ID=1:638894153788:web:35b295b15297201bd2e339
|
|
FIREBASE_MEASUREMENT_ID=G-2MPJGFEEXC
|
|
FIREBASE_VAPID_KEY=BFayEBpwMTU9GQQpXgitIJkfx-SD8-ltrFb3wLTZWgA27MfBhG4948pe0eERl432NzPrMKsbkXnA7ap_vLPgLYk
|
|
|
|
# --- Development ---
|
|
REPORT_NEW_STRINGS=false
|