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';
// @if TARGET='app'
ElectronCookies.enable({
origin: 'https://lbry.tv',
});
if (isProduction) {
ElectronCookies.enable({
origin: 'https://lbry.tv',
});
}
// @endif
type Analytics = {