ff9ca662f2
## Issue > 5459 Add setting for changing your comment server. Visible on desktop (and possibly defaulting to Odysee URL), hidden on odysee. ## Comments Not sure how this would actually work properly without the user recompiling the app to handle server differences. For example, even when we use our own server but switch between v1 and v2, some code changes are need to handle the differences. At that point, it seems easier for the user to just change the .env file? Anyway... ## Changes - Added Desktop-only options to define custom server. [Settings > Advanced Settings > "Comment server" section].
114 lines
3.3 KiB
Text
114 lines
3.3 KiB
Text
####### .env.default #########
|
|
|
|
# Copy this file to .env to make modifications
|
|
|
|
# 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_STREAMING_API=https://cdn.lbryplayer.xyz
|
|
LBRY_WEB_BUFFER_API=https://collector-service.api.lbry.tv/api/v1/events/video
|
|
COMMENT_SERVER_API=https://comments.odysee.com/api/v2
|
|
COMMENT_SERVER_NAME=Odysee
|
|
SEARCH_SERVER_API=https://lighthouse.odysee.com/search
|
|
SOCKETY_SERVER_API=wss://sockety.odysee.com/ws
|
|
THUMBNAIL_CDN_URL=https://image-processor.vanwanet.com/optimize/
|
|
WELCOME_VERSION=1.0
|
|
|
|
# STRIPE
|
|
STRIPE_PUBLIC_KEY='pk_test_NoL1JWL7i1ipfhVId5KfDZgo'
|
|
|
|
# Analytics
|
|
MATOMO_URL=https://analytics.lbry.com/
|
|
MATOMO_ID=4
|
|
|
|
# OG
|
|
OG_TITLE_SUFFIX=| lbry.tv
|
|
OG_HOMEPAGE_TITLE=lbry.tv
|
|
OG_IMAGE_URL=
|
|
SITE_CANONICAL_URL=https://lbry.tv
|
|
|
|
# UI
|
|
## Custom Site info
|
|
DOMAIN=lbry.tv
|
|
URL=https://lbry.tv
|
|
SITE_TITLE=lbry.tv
|
|
SITE_NAME=lbry.tv
|
|
SITE_DESCRIPTION=Meet LBRY, an open, free, and community-controlled content wonderland.
|
|
SITE_HELP_EMAIL=help@lbry.com
|
|
LOGO_TITLE=lbry.tv
|
|
## Social media
|
|
TWITTER_ACCOUNT=LBRYcom
|
|
BRANDED_SITE=odysee
|
|
|
|
## IMAGE ASSETS
|
|
YRBL_HAPPY_IMG_URL=https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-happy/7aa50a7e5adaf48691935d55e45d697547392929/839d9a
|
|
YRBL_SAD_IMG_URL=https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-sad/c2d9649633d974e5ffb503925e1f17d951f1bd0f/f262dd
|
|
#LOGIN_IMG_URL=https://cdn.lbryplayer.xyz/api/v3/streams/free/login/b671946e911c66c5fa7233afb35de2badd9eceb8/0e1d81
|
|
#LOGO=https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-sad/c2d9649633d974e5ffb503925e1f17d951f1bd0f/f262dd
|
|
#LOGO_TEXT_LIGHT=https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-sad/c2d9649633d974e5ffb503925e1f17d951f1bd0f/f262dd
|
|
#LOGO_TEXT_DARK=https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-sad/c2d9649633d974e5ffb503925e1f17d951f1bd0f/f262dd
|
|
#AVATAR_DEFAULT=
|
|
#FAVICON=
|
|
|
|
# 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=lbry.tv,lbry.lat,odysee.com
|
|
|
|
## CUSTOM CONTENT
|
|
# If the following is true, copy custom/homepage.example.js to custom/homepage.js and modify
|
|
CUSTOM_HOMEPAGE=false
|
|
|
|
# Add channels to auto-follow on first run
|
|
AUTO_FOLLOW_CHANNELS=lbry://@lbry#3fda836a92faaceedfe398225fb9b2ee2ed1f01a
|
|
|
|
## FEATURES AND LIMITS
|
|
SIMPLE_SITE=false
|
|
#BRANDED_SITE
|
|
|
|
ENABLE_COMMENT_REACTIONS=true
|
|
ENABLE_FILE_REACTIONS=false
|
|
ENABLE_CREATOR_REACTIONS=false
|
|
ENABLE_NO_SOURCE_CLAIMS=false
|
|
ENABLE_PREROLL_ADS=false
|
|
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS=4
|
|
CHANNEL_STAKED_LEVEL_LIVESTREAM=5
|
|
WEB_PUBLISH_SIZE_LIMIT_GB=4
|
|
LOADING_BAR_COLOR=#2bbb90
|
|
LIGHTHOUSE_DEFAULT_TYPES=audio,video,text,image,application
|
|
|
|
SHOW_ADS=true
|
|
|
|
## SIMPLE_SITE REPLACEMENTS
|
|
ENABLE_MATURE=true
|
|
ENABLE_UI_NOTIFICATIONS=false
|
|
|
|
#ENABLE_LINK_TO_APP=true
|
|
#FORCE_ANALYTICS=true
|
|
#ENABLE_ADVANCED_FILTER=true
|
|
#ENABLE_PAID_CONTENT=true
|
|
#USE_FOOTER=true
|
|
#USE_DISCOVER_WHITELIST=false
|
|
#ENABLE_WILD_WEST=false
|
|
#FULL_SIDE_LINKS=true
|
|
#SHOW_TAGS_INTRO=false
|
|
|
|
# SEARCH TYPES
|
|
#VIDEO_ENABLED=true
|
|
#AUDIO_ENABLED=true
|
|
#POSTS_ENABLED=true
|
|
#IMAGES_ENABLED=true
|
|
#FILES_ENABLED=true
|
|
#MODELS_ENABLED=true
|
|
|
|
BRANDED_SITE=odysee
|