no lbry.tv share domain
This commit is contained in:
parent
19b86a46fa
commit
b5994d6ff2
4 changed files with 11 additions and 10 deletions
|
@ -26,14 +26,15 @@ MATOMO_URL=https://analytics.lbry.com/
|
|||
MATOMO_ID=4
|
||||
|
||||
# OG
|
||||
OG_TITLE_SUFFIX=| lbry.tv
|
||||
OG_HOMEPAGE_TITLE=lbry.tv
|
||||
OG_TITLE_SUFFIX=| LBRY
|
||||
OG_HOMEPAGE_TITLE=LBRY
|
||||
OG_IMAGE_URL=
|
||||
SITE_CANONICAL_URL=https://lbry.tv
|
||||
#SITE_CANONICAL_URL=
|
||||
|
||||
# UI
|
||||
## Custom Site info
|
||||
DOMAIN=lbry.tv
|
||||
SHARE_DOMAIN_URL=odysee.com
|
||||
URL=https://lbry.tv
|
||||
SITE_TITLE=LBRY
|
||||
SITE_NAME=LBRY
|
||||
|
@ -43,7 +44,7 @@ LOGO_TITLE=LBRY
|
|||
CLOUD_CONNECT_SITE_NAME=Odysee
|
||||
## Social media
|
||||
TWITTER_ACCOUNT=LBRYcom
|
||||
BRANDED_SITE=odysee
|
||||
#BRANDED_SITE=
|
||||
|
||||
## IMAGE ASSETS
|
||||
YRBL_HAPPY_IMG_URL=https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-happy/7aa50a7e5adaf48691935d55e45d697547392929/839d9a
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// @flow
|
||||
import { URL, SHARE_DOMAIN_URL } from 'config';
|
||||
import { SHARE_DOMAIN_URL } from 'config';
|
||||
import * as ICONS from 'constants/icons';
|
||||
import * as PAGES from 'constants/pages';
|
||||
import * as MODALS from 'constants/modal_types';
|
||||
|
@ -18,7 +18,7 @@ import {
|
|||
import { useHistory } from 'react-router';
|
||||
import { buildURI, parseURI } from 'util/lbryURI';
|
||||
|
||||
const SHARE_DOMAIN = SHARE_DOMAIN_URL || URL;
|
||||
const SHARE_DOMAIN = SHARE_DOMAIN_URL;
|
||||
const PAGE_VIEW_QUERY = 'view';
|
||||
const EDIT_PAGE = 'edit';
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// @flow
|
||||
import { SHARE_DOMAIN_URL, URL } from 'config';
|
||||
import { SHARE_DOMAIN_URL } from 'config';
|
||||
import React from 'react';
|
||||
import { FormField } from 'component/common/form';
|
||||
|
||||
|
@ -32,7 +32,7 @@ function SettingShareUrl(props: Props) {
|
|||
<FormField
|
||||
type="radio"
|
||||
name="use_default_share_url"
|
||||
label={__('Default share url (%name%)', { name: SHARE_DOMAIN_URL || URL })}
|
||||
label={__('Default share url (%name%)', { name: SHARE_DOMAIN_URL })}
|
||||
checked={!customShareUrlEnabled}
|
||||
onChange={(e) => {
|
||||
if (e.target.checked) {
|
||||
|
|
|
@ -9,9 +9,9 @@ import { useIsMobile } from 'effects/use-screensize';
|
|||
import { FormField } from 'component/common/form';
|
||||
import { hmsToSeconds, secondsToHms } from 'util/time';
|
||||
import { generateLbryContentUrl, generateLbryWebUrl, generateEncodedLbryURL, generateShareUrl } from 'util/url';
|
||||
import { URL, TWITTER_ACCOUNT, SHARE_DOMAIN_URL } from 'config';
|
||||
import { TWITTER_ACCOUNT, SHARE_DOMAIN_URL } from 'config';
|
||||
|
||||
const SHARE_DOMAIN = SHARE_DOMAIN_URL || URL;
|
||||
const SHARE_DOMAIN = SHARE_DOMAIN_URL;
|
||||
const IOS = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform);
|
||||
const SUPPORTS_SHARE_API = typeof navigator.share !== 'undefined';
|
||||
|
||||
|
|
Loading…
Reference in a new issue