disable electron-cookies in dev mode

This commit is contained in:
Sean Yesmunt 2020-05-15 15:12:11 -04:00
parent 874d7860e9
commit 75b23d5d0e

View file

@ -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 = {