disable electron-cookies in dev mode
This commit is contained in:
parent
874d7860e9
commit
75b23d5d0e
1 changed files with 5 additions and 3 deletions
|
@ -21,9 +21,11 @@ export const SHARE_INTERNAL = 'shareInternal';
|
||||||
const SHARE_THIRD_PARTY = 'shareThirdParty';
|
const SHARE_THIRD_PARTY = 'shareThirdParty';
|
||||||
|
|
||||||
// @if TARGET='app'
|
// @if TARGET='app'
|
||||||
ElectronCookies.enable({
|
if (isProduction) {
|
||||||
origin: 'https://lbry.tv',
|
ElectronCookies.enable({
|
||||||
});
|
origin: 'https://lbry.tv',
|
||||||
|
});
|
||||||
|
}
|
||||||
// @endif
|
// @endif
|
||||||
|
|
||||||
type Analytics = {
|
type Analytics = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue